Scenario Outline: [1.1:18]62c0d0a5-5826-406d-a625-d84bc5fec800
ms: 661
>>
Background:
1
* url 'http://nationaalgeoregister.nl/'
1
06:39:54.462 karate.env system property was:
2
* def mystorage = Java.type('storage.DataStorage')
1
3
* def db = new mystorage
1
4
* def db = db.setfeature(karate.info.featureFileName)
4
5
* def separator = java.lang.System.getProperty("file.separator")
1
6
* def outputpath = db.outputpath()
1
7
* eval db.ensureDirectory(outputpath)
1
8
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
9
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
10
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
11
Given path 'geonetwork/srv/dut/inspire'
1
12
And param service = 'CSW'
0
13
And param version = '2.0.2'
0
14
And param request = 'GetRecordById'
0
15
And param id = '62c0d0a5-5826-406d-a625-d84bc5fec800'
1
16
And param elementsetname = 'full'
0
17
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
18
When method get
640
19
Then status 200
0
20
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '62c0d0a5-5826-406d-a625-d84bc5fec800'
1
21
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
22
* def title = get response //citation/CI_Citation/title/CharacterString
1
23
* def email = get response //electronicMailAddress/CharacterString
2
24
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
2
25
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
2
26
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
1
27
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
2
28
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
1
29
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
30
* print organisationpath
0
06:39:55.514 [print] Beheer PDOK
31
* print operateson
0
06:39:55.514 [print] [
"http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=be1b1514-8d1f-48e1-9624-fee9b784138b#MD_DataIdentification",
"http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=db60a314-5583-437d-a2ff-1e59cc57704e#MD_DataIdentification"
]
32
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
33
* eval db.writeln('"62c0d0a5-5826-406d-a625-d84bc5fec800","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
3
34
* eval db.writeln('"62c0d0a5-5826-406d-a625-d84bc5fec800","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
4
Scenario Outline: [1.2:18]aaf53e6f-fe99-4a86-a61c-50b128412d80
ms: 759
>>
Background:
35
* url 'http://nationaalgeoregister.nl/'
1
06:39:54.462 karate.env system property was:
36
* def mystorage = Java.type('storage.DataStorage')
1
37
* def db = new mystorage
1
38
* def db = db.setfeature(karate.info.featureFileName)
4
39
* def separator = java.lang.System.getProperty("file.separator")
1
40
* def outputpath = db.outputpath()
1
41
* eval db.ensureDirectory(outputpath)
1
42
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
43
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
44
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
45
Given path 'geonetwork/srv/dut/inspire'
1
46
And param service = 'CSW'
1
47
And param version = '2.0.2'
0
48
And param request = 'GetRecordById'
7
49
And param id = 'aaf53e6f-fe99-4a86-a61c-50b128412d80'
1
50
And param elementsetname = 'full'
0
51
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
52
When method get
718
53
Then status 200
0
54
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'aaf53e6f-fe99-4a86-a61c-50b128412d80'
1
55
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
56
* def title = get response //citation/CI_Citation/title/CharacterString
1
57
* def email = get response //electronicMailAddress/CharacterString
1
58
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
59
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
1
60
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
61
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
62
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
63
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
2
64
* print organisationpath
0
06:39:55.587 [print] Beheer PDOK
65
* print operateson
0
06:39:55.587 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=3d59fd06-9aec-4744-91e7-65e119f74569#MD_DataIdentification
66
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
67
* eval db.writeln('"aaf53e6f-fe99-4a86-a61c-50b128412d80","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
13
68
* eval db.writeln('"aaf53e6f-fe99-4a86-a61c-50b128412d80","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
8
Scenario Outline: [1.3:18]cea38797-ea4b-4969-b979-8d25eb543a6c
ms: 973
>>
Background:
69
* url 'http://nationaalgeoregister.nl/'
1
06:39:54.462 karate.env system property was:
70
* def mystorage = Java.type('storage.DataStorage')
1
71
* def db = new mystorage
1
72
* def db = db.setfeature(karate.info.featureFileName)
4
73
* def separator = java.lang.System.getProperty("file.separator")
1
74
* def outputpath = db.outputpath()
1
75
* eval db.ensureDirectory(outputpath)
1
76
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
77
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
78
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
79
Given path 'geonetwork/srv/dut/inspire'
1
80
And param service = 'CSW'
1
81
And param version = '2.0.2'
0
82
And param request = 'GetRecordById'
0
83
And param id = 'cea38797-ea4b-4969-b979-8d25eb543a6c'
1
84
And param elementsetname = 'full'
0
85
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
1
86
When method get
952
87
Then status 200
0
88
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'cea38797-ea4b-4969-b979-8d25eb543a6c'
1
89
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
90
* def title = get response //citation/CI_Citation/title/CharacterString
0
91
* def email = get response //electronicMailAddress/CharacterString
0
92
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
93
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
1
94
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
95
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
96
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
97
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
98
* print organisationpath
1
06:39:55.814 [print] Beheer PDOK
99
* print operateson
2
06:39:55.815 [print] https://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=6318009c-7b11-4ab9-9929-735584dfb692#MD_DataIdentification
100
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
101
* eval db.writeln('"cea38797-ea4b-4969-b979-8d25eb543a6c","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
102
* eval db.writeln('"cea38797-ea4b-4969-b979-8d25eb543a6c","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
6
Scenario Outline: [1.4:18]f0c6fbfe-a172-4223-8af3-58f6a28c881d
ms: 1044
>>
Background:
103
* url 'http://nationaalgeoregister.nl/'
1
06:39:54.462 karate.env system property was:
104
* def mystorage = Java.type('storage.DataStorage')
1
105
* def db = new mystorage
1
106
* def db = db.setfeature(karate.info.featureFileName)
4
107
* def separator = java.lang.System.getProperty("file.separator")
1
108
* def outputpath = db.outputpath()
1
109
* eval db.ensureDirectory(outputpath)
1
110
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
111
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
112
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
113
Given path 'geonetwork/srv/dut/inspire'
0
114
And param service = 'CSW'
0
115
And param version = '2.0.2'
0
116
And param request = 'GetRecordById'
0
117
And param id = 'f0c6fbfe-a172-4223-8af3-58f6a28c881d'
1
118
And param elementsetname = 'full'
0
119
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
120
When method get
1019
121
Then status 200
0
122
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'f0c6fbfe-a172-4223-8af3-58f6a28c881d'
2
123
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
124
* def title = get response //citation/CI_Citation/title/CharacterString
0
125
* def email = get response //electronicMailAddress/CharacterString
0
126
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
127
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
1
128
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
1
129
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
130
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
131
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
132
* print organisationpath
0
06:39:55.892 [print]
133
* print operateson
0
06:39:55.892 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&ID=12bb57cd-73e0-41ba-a1e9-6d986b9109d3&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full#MD_DataIdentification
134
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
135
* eval db.writeln('"f0c6fbfe-a172-4223-8af3-58f6a28c881d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
136
* eval db.writeln('"f0c6fbfe-a172-4223-8af3-58f6a28c881d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
13
Scenario Outline: [1.5:18]8129296b-b9c1-489f-990a-df4a879e12b2
ms: 752
>>
Background:
137
* url 'http://nationaalgeoregister.nl/'
1
06:39:54.462 karate.env system property was:
138
* def mystorage = Java.type('storage.DataStorage')
1
139
* def db = new mystorage
1
140
* def db = db.setfeature(karate.info.featureFileName)
4
141
* def separator = java.lang.System.getProperty("file.separator")
1
142
* def outputpath = db.outputpath()
1
143
* eval db.ensureDirectory(outputpath)
1
144
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
145
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
146
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
147
Given path 'geonetwork/srv/dut/inspire'
1
148
And param service = 'CSW'
0
149
And param version = '2.0.2'
0
150
And param request = 'GetRecordById'
0
151
And param id = '8129296b-b9c1-489f-990a-df4a879e12b2'
0
152
And param elementsetname = 'full'
4
153
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
154
When method get
729
155
Then status 200
0
156
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '8129296b-b9c1-489f-990a-df4a879e12b2'
5
157
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
2
158
* def title = get response //citation/CI_Citation/title/CharacterString
0
159
* def email = get response //electronicMailAddress/CharacterString
1
160
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
161
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
1
162
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
163
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
164
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
1
165
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
166
* print organisationpath
0
06:39:55.597 [print]
167
* print operateson
0
06:39:55.597 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&ID=12bb57cd-73e0-41ba-a1e9-6d986b9109d3&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full#MD_DataIdentification
168
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
169
* eval db.writeln('"8129296b-b9c1-489f-990a-df4a879e12b2","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
170
* eval db.writeln('"8129296b-b9c1-489f-990a-df4a879e12b2","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.6:18]b87a0095-2ad7-4dbb-81a1-fed060df79e1
ms: 788
>>
Background:
171
* url 'http://nationaalgeoregister.nl/'
1
06:39:54.462 karate.env system property was:
172
* def mystorage = Java.type('storage.DataStorage')
1
173
* def db = new mystorage
1
174
* def db = db.setfeature(karate.info.featureFileName)
4
175
* def separator = java.lang.System.getProperty("file.separator")
1
176
* def outputpath = db.outputpath()
1
177
* eval db.ensureDirectory(outputpath)
1
178
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
179
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
180
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
181
Given path 'geonetwork/srv/dut/inspire'
10
182
And param service = 'CSW'
0
183
And param version = '2.0.2'
0
184
And param request = 'GetRecordById'
0
185
And param id = 'b87a0095-2ad7-4dbb-81a1-fed060df79e1'
1
186
And param elementsetname = 'full'
0
187
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
188
When method get
758
189
Then status 200
0
190
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'b87a0095-2ad7-4dbb-81a1-fed060df79e1'
0
191
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
192
* def title = get response //citation/CI_Citation/title/CharacterString
0
193
* def email = get response //electronicMailAddress/CharacterString
0
194
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
195
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
196
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
197
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
198
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
199
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
200
* print organisationpath
0
06:39:55.626 [print] Beheer PDOK
201
* print operateson
0
06:39:55.627 [print] http://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&version=2.0.2&request=GetRecordById&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=4961d305-fbb5-426a-9ba3-53e1ca5f3b18
202
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
203
* eval db.writeln('"b87a0095-2ad7-4dbb-81a1-fed060df79e1","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
7
204
* eval db.writeln('"b87a0095-2ad7-4dbb-81a1-fed060df79e1","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
7
Scenario Outline: [1.7:18]5be14ec9-9bb3-4395-a061-e7e78d04a527
ms: 1085
>>
Background:
205
* url 'http://nationaalgeoregister.nl/'
1
06:39:54.462 karate.env system property was:
206
* def mystorage = Java.type('storage.DataStorage')
1
207
* def db = new mystorage
1
208
* def db = db.setfeature(karate.info.featureFileName)
4
209
* def separator = java.lang.System.getProperty("file.separator")
1
210
* def outputpath = db.outputpath()
1
211
* eval db.ensureDirectory(outputpath)
1
212
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
213
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
214
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
215
Given path 'geonetwork/srv/dut/inspire'
0
216
And param service = 'CSW'
0
217
And param version = '2.0.2'
0
218
And param request = 'GetRecordById'
0
219
And param id = '5be14ec9-9bb3-4395-a061-e7e78d04a527'
0
220
And param elementsetname = 'full'
0
221
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
222
When method get
1062
223
Then status 200
0
224
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '5be14ec9-9bb3-4395-a061-e7e78d04a527'
2
225
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
226
* def title = get response //citation/CI_Citation/title/CharacterString
1
227
* def email = get response //electronicMailAddress/CharacterString
0
228
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
229
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
230
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
231
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
1
232
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
7
233
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
2
234
* print organisationpath
2
06:39:55.950 [print] Beheer PDOK
235
* print operateson
0
06:39:55.951 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=b4ae622c-6201-49d8-bd2e-f7fce9206a1e#MD_DataIdentification
236
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
237
* eval db.writeln('"5be14ec9-9bb3-4395-a061-e7e78d04a527","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
238
* eval db.writeln('"5be14ec9-9bb3-4395-a061-e7e78d04a527","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.8:18]0bc2bcb8-558b-446b-b4e2-381b13d483a8
ms: 1379
>>
Background:
239
* url 'http://nationaalgeoregister.nl/'
1
06:39:54.462 karate.env system property was:
240
* def mystorage = Java.type('storage.DataStorage')
1
241
* def db = new mystorage
1
242
* def db = db.setfeature(karate.info.featureFileName)
4
243
* def separator = java.lang.System.getProperty("file.separator")
1
244
* def outputpath = db.outputpath()
1
245
* eval db.ensureDirectory(outputpath)
1
246
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
247
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
248
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
249
Given path 'geonetwork/srv/dut/inspire'
1
250
And param service = 'CSW'
0
251
And param version = '2.0.2'
0
252
And param request = 'GetRecordById'
0
253
And param id = '0bc2bcb8-558b-446b-b4e2-381b13d483a8'
0
254
And param elementsetname = 'full'
0
255
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
256
When method get
1364
257
Then status 200
0
258
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '0bc2bcb8-558b-446b-b4e2-381b13d483a8'
1
259
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
260
* def title = get response //citation/CI_Citation/title/CharacterString
0
261
* def email = get response //electronicMailAddress/CharacterString
0
262
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
263
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
264
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
2
265
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
266
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
267
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
268
* print organisationpath
0
06:39:56.263 [print] Beheer PDOK
269
* print operateson
0
06:39:56.263 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=3d59fd06-9aec-4744-91e7-65e119f74569#MD_DataIdentification
270
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
271
* eval db.writeln('"0bc2bcb8-558b-446b-b4e2-381b13d483a8","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
4
272
* eval db.writeln('"0bc2bcb8-558b-446b-b4e2-381b13d483a8","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.9:18]f61eec5c-cb91-40b6-ad35-9bca967006cc
ms: 856
>>
Background:
273
* url 'http://nationaalgeoregister.nl/'
1
06:39:54.462 karate.env system property was:
274
* def mystorage = Java.type('storage.DataStorage')
1
275
* def db = new mystorage
1
276
* def db = db.setfeature(karate.info.featureFileName)
4
277
* def separator = java.lang.System.getProperty("file.separator")
1
278
* def outputpath = db.outputpath()
1
279
* eval db.ensureDirectory(outputpath)
1
280
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
281
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
282
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
283
Given path 'geonetwork/srv/dut/inspire'
0
284
And param service = 'CSW'
0
285
And param version = '2.0.2'
0
286
And param request = 'GetRecordById'
0
287
And param id = 'f61eec5c-cb91-40b6-ad35-9bca967006cc'
1
288
And param elementsetname = 'full'
0
289
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
290
When method get
843
291
Then status 200
0
292
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'f61eec5c-cb91-40b6-ad35-9bca967006cc'
1
293
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
294
* def title = get response //citation/CI_Citation/title/CharacterString
0
295
* def email = get response //electronicMailAddress/CharacterString
1
296
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
297
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
298
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
299
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
1
300
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
301
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
302
* print organisationpath
0
06:39:55.719 [print]
303
* print operateson
0
06:39:55.719 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=588a4cb1-b442-4ac1-87e4-40401e353166#MD_DataIdentification
304
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
305
* eval db.writeln('"f61eec5c-cb91-40b6-ad35-9bca967006cc","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
306
* eval db.writeln('"f61eec5c-cb91-40b6-ad35-9bca967006cc","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
3
Scenario Outline: [1.10:18]74620aa8-4fa2-414d-8350-50d93e500da8
ms: 1608
>>
Background:
307
* url 'http://nationaalgeoregister.nl/'
1
06:39:54.462 karate.env system property was:
308
* def mystorage = Java.type('storage.DataStorage')
1
309
* def db = new mystorage
1
310
* def db = db.setfeature(karate.info.featureFileName)
4
311
* def separator = java.lang.System.getProperty("file.separator")
1
312
* def outputpath = db.outputpath()
1
313
* eval db.ensureDirectory(outputpath)
1
314
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
315
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
316
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
317
Given path 'geonetwork/srv/dut/inspire'
1
318
And param service = 'CSW'
0
319
And param version = '2.0.2'
0
320
And param request = 'GetRecordById'
0
321
And param id = '74620aa8-4fa2-414d-8350-50d93e500da8'
0
322
And param elementsetname = 'full'
0
323
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
324
When method get
1584
325
Then status 200
0
326
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '74620aa8-4fa2-414d-8350-50d93e500da8'
1
327
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
328
* def title = get response //citation/CI_Citation/title/CharacterString
0
329
* def email = get response //electronicMailAddress/CharacterString
1
330
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
331
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
332
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
333
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
334
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
1
335
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
336
* print organisationpath
0
06:39:56.481 [print]
337
* print operateson
5
06:39:56.481 [print] [
"http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=50eef6be-619d-4e16-9b92-48971109b636#MD_DataIdentification",
"http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=8de2f5eb-b09f-4f6d-8397-8878a1b86238#MD_DataIdentification",
"https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=9b583730-e750-485a-9c0c-39bf9be72cf8#MD_DataIdentification",
"https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=a57cb859-c4fe-444c-adc6-be14cb2bbf36#MD_DataIdentification",
"https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=9b583730-e750-485a-9c0c-39bf9be72cf9#MD_DataIdentification",
"https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=a57cb859-c4fe-444c-adc6-be14cb2bbf38#MD_DataIdentification"
]
338
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
339
* eval db.writeln('"74620aa8-4fa2-414d-8350-50d93e500da8","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
6
340
* eval db.writeln('"74620aa8-4fa2-414d-8350-50d93e500da8","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
5
Scenario Outline: [1.11:18]d467c2cc-4026-b80a-d4e1a9d2bf79
ms: 1356
>>
Background:
341
* url 'http://nationaalgeoregister.nl/'
1
06:39:54.462 karate.env system property was:
342
* def mystorage = Java.type('storage.DataStorage')
1
343
* def db = new mystorage
1
344
* def db = db.setfeature(karate.info.featureFileName)
4
345
* def separator = java.lang.System.getProperty("file.separator")
1
346
* def outputpath = db.outputpath()
1
347
* eval db.ensureDirectory(outputpath)
1
348
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
349
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
350
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
351
Given path 'geonetwork/srv/dut/inspire'
0
352
And param service = 'CSW'
0
353
And param version = '2.0.2'
0
354
And param request = 'GetRecordById'
0
355
And param id = 'd467c2cc-4026-b80a-d4e1a9d2bf79'
1
356
And param elementsetname = 'full'
0
357
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
358
When method get
1318
359
Then status 200
0
360
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'd467c2cc-4026-b80a-d4e1a9d2bf79'
1
361
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
362
* def title = get response //citation/CI_Citation/title/CharacterString
1
363
* def email = get response //electronicMailAddress/CharacterString
0
364
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
3
365
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
366
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
367
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
1
368
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
10
369
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
370
* print organisationpath
1
06:39:56.213 [print] Beheer PDOK
371
* print operateson
0
06:39:56.213 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=eu-f297898-2640-44c2-bbe9-c0480da83794#MD_DataIdentification
372
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
373
* eval db.writeln('"d467c2cc-4026-b80a-d4e1a9d2bf79","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
14
374
* eval db.writeln('"d467c2cc-4026-b80a-d4e1a9d2bf79","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.12:18]008d85d1-460d-46f6-9af4-98afdedbc4dc
ms: 1329
>>
Background:
375
* url 'http://nationaalgeoregister.nl/'
1
06:39:54.462 karate.env system property was:
376
* def mystorage = Java.type('storage.DataStorage')
1
377
* def db = new mystorage
1
378
* def db = db.setfeature(karate.info.featureFileName)
4
379
* def separator = java.lang.System.getProperty("file.separator")
1
380
* def outputpath = db.outputpath()
1
381
* eval db.ensureDirectory(outputpath)
1
382
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
383
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
384
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
385
Given path 'geonetwork/srv/dut/inspire'
0
386
And param service = 'CSW'
0
387
And param version = '2.0.2'
0
388
And param request = 'GetRecordById'
0
389
And param id = '008d85d1-460d-46f6-9af4-98afdedbc4dc'
1
390
And param elementsetname = 'full'
0
391
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
392
When method get
1309
393
Then status 200
0
394
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '008d85d1-460d-46f6-9af4-98afdedbc4dc'
2
395
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
396
* def title = get response //citation/CI_Citation/title/CharacterString
1
397
* def email = get response //electronicMailAddress/CharacterString
1
398
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
399
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
1
400
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
1
401
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
402
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
2
403
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
404
* print organisationpath
0
06:39:56.196 [print] Beheer PDOK
405
* print operateson
0
06:39:56.197 [print] https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=76541ebb-a554-4540-a017-399d4bb4a860#MD_DataIdentification
406
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
407
* eval db.writeln('"008d85d1-460d-46f6-9af4-98afdedbc4dc","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
5
408
* eval db.writeln('"008d85d1-460d-46f6-9af4-98afdedbc4dc","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
4
Scenario Outline: [1.13:18]171b28f6-7ee7-46f9-b3b3-06d0baaa33db
ms: 1357
>>
Background:
409
* url 'http://nationaalgeoregister.nl/'
1
06:39:54.462 karate.env system property was:
410
* def mystorage = Java.type('storage.DataStorage')
1
411
* def db = new mystorage
1
412
* def db = db.setfeature(karate.info.featureFileName)
4
413
* def separator = java.lang.System.getProperty("file.separator")
1
414
* def outputpath = db.outputpath()
1
415
* eval db.ensureDirectory(outputpath)
1
416
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
417
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
418
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
419
Given path 'geonetwork/srv/dut/inspire'
0
420
And param service = 'CSW'
0
421
And param version = '2.0.2'
0
422
And param request = 'GetRecordById'
0
423
And param id = '171b28f6-7ee7-46f9-b3b3-06d0baaa33db'
0
424
And param elementsetname = 'full'
0
425
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
426
When method get
1323
427
Then status 200
0
428
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '171b28f6-7ee7-46f9-b3b3-06d0baaa33db'
2
429
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
430
* def title = get response //citation/CI_Citation/title/CharacterString
1
431
* def email = get response //electronicMailAddress/CharacterString
0
432
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
433
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
434
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
435
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
1
436
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
1
437
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
438
* print organisationpath
0
06:39:56.212 [print] Beheer PDOK
439
* print operateson
0
06:39:56.212 [print] https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=76541ebb-a554-4540-a017-399d4bb4a860#MD_DataIdentification
440
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
441
* eval db.writeln('"171b28f6-7ee7-46f9-b3b3-06d0baaa33db","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
3
442
* eval db.writeln('"171b28f6-7ee7-46f9-b3b3-06d0baaa33db","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
22
Scenario Outline: [1.14:18]6b608d4e-5628-4d59-97fc-0322c57357b2
ms: 1417
>>
Background:
443
* url 'http://nationaalgeoregister.nl/'
1
06:39:54.462 karate.env system property was:
444
* def mystorage = Java.type('storage.DataStorage')
1
445
* def db = new mystorage
1
446
* def db = db.setfeature(karate.info.featureFileName)
4
447
* def separator = java.lang.System.getProperty("file.separator")
1
448
* def outputpath = db.outputpath()
1
449
* eval db.ensureDirectory(outputpath)
1
450
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
451
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
452
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
453
Given path 'geonetwork/srv/dut/inspire'
0
454
And param service = 'CSW'
0
455
And param version = '2.0.2'
0
456
And param request = 'GetRecordById'
0
457
And param id = '6b608d4e-5628-4d59-97fc-0322c57357b2'
0
458
And param elementsetname = 'full'
0
459
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
460
When method get
1401
461
Then status 200
0
462
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '6b608d4e-5628-4d59-97fc-0322c57357b2'
1
463
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
464
* def title = get response //citation/CI_Citation/title/CharacterString
1
465
* def email = get response //electronicMailAddress/CharacterString
0
466
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
467
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
468
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
469
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
1
470
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
471
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
472
* print organisationpath
0
06:39:56.290 [print] Beheer PDOK
473
* print operateson
0
06:39:56.290 [print] https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=fe0e1e5f-512f-4bb1-bbf8-4028d3dfa24f#MD_DataIdentification
474
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
475
* eval db.writeln('"6b608d4e-5628-4d59-97fc-0322c57357b2","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
5
476
* eval db.writeln('"6b608d4e-5628-4d59-97fc-0322c57357b2","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
3
Scenario Outline: [1.15:18]1a8d5470-8c5e-477a-ab6b-4893b6d21ab6
ms: 1357
>>
Background:
477
* url 'http://nationaalgeoregister.nl/'
1
06:39:54.462 karate.env system property was:
478
* def mystorage = Java.type('storage.DataStorage')
1
479
* def db = new mystorage
1
480
* def db = db.setfeature(karate.info.featureFileName)
4
481
* def separator = java.lang.System.getProperty("file.separator")
1
482
* def outputpath = db.outputpath()
1
483
* eval db.ensureDirectory(outputpath)
1
484
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
485
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
486
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
487
Given path 'geonetwork/srv/dut/inspire'
0
488
And param service = 'CSW'
0
489
And param version = '2.0.2'
0
490
And param request = 'GetRecordById'
0
491
And param id = '1a8d5470-8c5e-477a-ab6b-4893b6d21ab6'
0
492
And param elementsetname = 'full'
0
493
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
494
When method get
1334
495
Then status 200
0
496
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '1a8d5470-8c5e-477a-ab6b-4893b6d21ab6'
3
497
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
498
* def title = get response //citation/CI_Citation/title/CharacterString
0
499
* def email = get response //electronicMailAddress/CharacterString
0
500
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
501
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
502
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
503
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
504
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
505
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
506
* print organisationpath
8
06:39:56.234 [print] TNO Geologische Dienst Nederland
507
* print operateson
1
06:39:56.235 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&ID=6c1cf452-8c62-4046-99ab-640a5e184f9c&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full#MD_DataIdentification
508
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
509
* eval db.writeln('"1a8d5470-8c5e-477a-ab6b-4893b6d21ab6","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
510
* eval db.writeln('"1a8d5470-8c5e-477a-ab6b-4893b6d21ab6","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
5
Scenario Outline: [1.16:18]a7ed73f4-e16d-46a3-befa-603370cfb6e8
ms: 1544
>>
Background:
511
* url 'http://nationaalgeoregister.nl/'
1
06:39:54.462 karate.env system property was:
512
* def mystorage = Java.type('storage.DataStorage')
1
513
* def db = new mystorage
1
514
* def db = db.setfeature(karate.info.featureFileName)
4
515
* def separator = java.lang.System.getProperty("file.separator")
1
516
* def outputpath = db.outputpath()
1
517
* eval db.ensureDirectory(outputpath)
1
518
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
519
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
520
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
521
Given path 'geonetwork/srv/dut/inspire'
0
522
And param service = 'CSW'
0
523
And param version = '2.0.2'
0
524
And param request = 'GetRecordById'
0
525
And param id = 'a7ed73f4-e16d-46a3-befa-603370cfb6e8'
1
526
And param elementsetname = 'full'
0
527
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
528
When method get
1528
529
Then status 200
0
530
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'a7ed73f4-e16d-46a3-befa-603370cfb6e8'
2
531
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
2
532
* def title = get response //citation/CI_Citation/title/CharacterString
1
533
* def email = get response //electronicMailAddress/CharacterString
1
534
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
535
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
536
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
1
537
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
538
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
539
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
540
* print organisationpath
0
06:39:56.426 [print] Beheer PDOK
541
* print operateson
0
06:39:56.426 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=db8d613f-5edc-4467-9cc0-e2dcfb9d64a8#MD_DataIdentification
542
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
543
* eval db.writeln('"a7ed73f4-e16d-46a3-befa-603370cfb6e8","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
544
* eval db.writeln('"a7ed73f4-e16d-46a3-befa-603370cfb6e8","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.17:18]feabca04-e3fd-4802-96f2-583d328e30ad
ms: 2049
>>
Background:
545
* url 'http://nationaalgeoregister.nl/'
1
06:39:54.462 karate.env system property was:
546
* def mystorage = Java.type('storage.DataStorage')
1
547
* def db = new mystorage
1
548
* def db = db.setfeature(karate.info.featureFileName)
4
549
* def separator = java.lang.System.getProperty("file.separator")
1
550
* def outputpath = db.outputpath()
1
551
* eval db.ensureDirectory(outputpath)
1
552
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
553
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
554
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
555
Given path 'geonetwork/srv/dut/inspire'
0
556
And param service = 'CSW'
0
557
And param version = '2.0.2'
0
558
And param request = 'GetRecordById'
0
559
And param id = 'feabca04-e3fd-4802-96f2-583d328e30ad'
15
560
And param elementsetname = 'full'
0
561
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
562
When method get
2020
563
Then status 200
0
564
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'feabca04-e3fd-4802-96f2-583d328e30ad'
2
565
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
2
566
* def title = get response //citation/CI_Citation/title/CharacterString
0
567
* def email = get response //electronicMailAddress/CharacterString
0
568
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
569
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
570
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
571
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
572
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
573
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
574
* print organisationpath
1
06:39:56.933 [print] Beheer PDOK
575
* print operateson
0
06:39:56.933 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=ffefc3dc-dc8f-4589-ae22-a60bebcdf5cb#MD_DataIdentification
576
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
577
* eval db.writeln('"feabca04-e3fd-4802-96f2-583d328e30ad","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
578
* eval db.writeln('"feabca04-e3fd-4802-96f2-583d328e30ad","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
3
Scenario Outline: [1.18:18]4041f923-6b77-4816-bf46-437e85416c31
ms: 1606
>>
Background:
579
* url 'http://nationaalgeoregister.nl/'
1
06:39:54.462 karate.env system property was:
580
* def mystorage = Java.type('storage.DataStorage')
1
581
* def db = new mystorage
1
582
* def db = db.setfeature(karate.info.featureFileName)
4
583
* def separator = java.lang.System.getProperty("file.separator")
1
584
* def outputpath = db.outputpath()
1
585
* eval db.ensureDirectory(outputpath)
1
586
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
587
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
588
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
589
Given path 'geonetwork/srv/dut/inspire'
0
590
And param service = 'CSW'
0
591
And param version = '2.0.2'
0
592
And param request = 'GetRecordById'
0
593
And param id = '4041f923-6b77-4816-bf46-437e85416c31'
1
594
And param elementsetname = 'full'
0
595
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
596
When method get
1591
597
Then status 200
0
598
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '4041f923-6b77-4816-bf46-437e85416c31'
1
599
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
600
* def title = get response //citation/CI_Citation/title/CharacterString
0
601
* def email = get response //electronicMailAddress/CharacterString
1
602
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
2
603
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
604
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
605
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
1
606
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
607
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
608
* print organisationpath
1
06:39:56.498 [print] Beheer PDOK
609
* print operateson
1
06:39:56.500 [print] [
"https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=krm-a905-9d8e-4758-83fa-28b057f185e4#MD_DataIdentification",
"https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=krm-a905-9d8e-4758-83fa-28b057f185e3#MD_DataIdentification"
]
610
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
611
* eval db.writeln('"4041f923-6b77-4816-bf46-437e85416c31","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
612
* eval db.writeln('"4041f923-6b77-4816-bf46-437e85416c31","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
3
Scenario Outline: [1.19:18]d4e573b0-bd3b-4d7b-a97d-e65841e6e0b4
ms: 1781
>>
Background:
613
* url 'http://nationaalgeoregister.nl/'
1
06:39:54.462 karate.env system property was:
614
* def mystorage = Java.type('storage.DataStorage')
1
615
* def db = new mystorage
1
616
* def db = db.setfeature(karate.info.featureFileName)
4
617
* def separator = java.lang.System.getProperty("file.separator")
1
618
* def outputpath = db.outputpath()
1
619
* eval db.ensureDirectory(outputpath)
1
620
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
621
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
622
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
623
Given path 'geonetwork/srv/dut/inspire'
0
624
And param service = 'CSW'
0
625
And param version = '2.0.2'
0
626
And param request = 'GetRecordById'
0
627
And param id = 'd4e573b0-bd3b-4d7b-a97d-e65841e6e0b4'
1
628
And param elementsetname = 'full'
0
629
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
630
When method get
1767
631
Then status 200
0
632
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'd4e573b0-bd3b-4d7b-a97d-e65841e6e0b4'
1
633
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
634
* def title = get response //citation/CI_Citation/title/CharacterString
0
635
* def email = get response //electronicMailAddress/CharacterString
1
636
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
637
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
638
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
639
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
1
640
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
641
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
642
* print organisationpath
0
06:39:56.684 [print] Beheer PDOK
643
* print operateson
0
06:39:56.684 [print] [
"http://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=krw-782cab20-8328-45f1-a9b2-c27d07c14066#MD_DataIdentification",
"http://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=622a632a-c57b-44a2-83a4-e51223d5f15g#MD_DataIdentification",
"http://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=2e31680f-68b5-4ff3-94a4-9c24109ffd5e#MD_DataIdentification",
"http://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=krw-f7bb2351-9788-42ea-a58b-a5ee1842304e#MD_DataIdentification"
]
644
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
645
* eval db.writeln('"d4e573b0-bd3b-4d7b-a97d-e65841e6e0b4","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
646
* eval db.writeln('"d4e573b0-bd3b-4d7b-a97d-e65841e6e0b4","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
3
Scenario Outline: [1.20:18]ce4ac3b9-8291-498d-95de-79fe7b6f5259
ms: 1787
>>
Background:
647
* url 'http://nationaalgeoregister.nl/'
1
06:39:54.462 karate.env system property was:
648
* def mystorage = Java.type('storage.DataStorage')
1
649
* def db = new mystorage
1
650
* def db = db.setfeature(karate.info.featureFileName)
4
651
* def separator = java.lang.System.getProperty("file.separator")
1
652
* def outputpath = db.outputpath()
1
653
* eval db.ensureDirectory(outputpath)
1
654
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
655
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
656
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
657
Given path 'geonetwork/srv/dut/inspire'
0
658
And param service = 'CSW'
0
659
And param version = '2.0.2'
0
660
And param request = 'GetRecordById'
0
661
And param id = 'ce4ac3b9-8291-498d-95de-79fe7b6f5259'
1
662
And param elementsetname = 'full'
0
663
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
664
When method get
1774
665
Then status 200
0
666
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'ce4ac3b9-8291-498d-95de-79fe7b6f5259'
2
667
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
668
* def title = get response //citation/CI_Citation/title/CharacterString
0
669
* def email = get response //electronicMailAddress/CharacterString
0
670
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
671
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
672
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
673
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
674
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
675
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
676
* print organisationpath
0
06:39:56.707 [print] Beheer PDOK
677
* print operateson
0
06:39:56.707 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=8f45b8ef-0ce8-463a-9059-5efdcecb785c#MD_DataIdentification
678
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
679
* eval db.writeln('"ce4ac3b9-8291-498d-95de-79fe7b6f5259","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
680
* eval db.writeln('"ce4ac3b9-8291-498d-95de-79fe7b6f5259","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.21:18]c56433ca-35f2-4aaf-8bfa-35d8e0e52dda
ms: 2329
>>
Background:
681
* url 'http://nationaalgeoregister.nl/'
1
06:39:54.462 karate.env system property was:
682
* def mystorage = Java.type('storage.DataStorage')
1
683
* def db = new mystorage
1
684
* def db = db.setfeature(karate.info.featureFileName)
4
685
* def separator = java.lang.System.getProperty("file.separator")
1
686
* def outputpath = db.outputpath()
1
687
* eval db.ensureDirectory(outputpath)
1
688
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
689
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
690
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
691
Given path 'geonetwork/srv/dut/inspire'
1
692
And param service = 'CSW'
0
693
And param version = '2.0.2'
0
694
And param request = 'GetRecordById'
0
695
And param id = 'c56433ca-35f2-4aaf-8bfa-35d8e0e52dda'
0
696
And param elementsetname = 'full'
0
697
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
698
When method get
2305
699
Then status 200
0
700
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'c56433ca-35f2-4aaf-8bfa-35d8e0e52dda'
1
701
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
702
* def title = get response //citation/CI_Citation/title/CharacterString
0
703
* def email = get response //electronicMailAddress/CharacterString
0
704
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
705
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
706
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
707
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
1
708
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
709
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
710
* print organisationpath
0
06:39:57.241 [print]
711
* print operateson
2
06:39:57.243 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=08b27bf0-e34a-4b30-9eac-5edadfb6a288#MD_DataIdentification
712
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
713
* eval db.writeln('"c56433ca-35f2-4aaf-8bfa-35d8e0e52dda","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
7
714
* eval db.writeln('"c56433ca-35f2-4aaf-8bfa-35d8e0e52dda","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
7
Scenario Outline: [1.22:18]9c5351c8-d8f4-41c2-9642-42a63496a6fe
ms: 1953
>>
Background:
715
* url 'http://nationaalgeoregister.nl/'
1
06:39:54.462 karate.env system property was:
716
* def mystorage = Java.type('storage.DataStorage')
1
717
* def db = new mystorage
1
718
* def db = db.setfeature(karate.info.featureFileName)
4
719
* def separator = java.lang.System.getProperty("file.separator")
1
720
* def outputpath = db.outputpath()
1
721
* eval db.ensureDirectory(outputpath)
1
722
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
723
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
724
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
725
Given path 'geonetwork/srv/dut/inspire'
0
726
And param service = 'CSW'
0
727
And param version = '2.0.2'
0
728
And param request = 'GetRecordById'
0
729
And param id = '9c5351c8-d8f4-41c2-9642-42a63496a6fe'
0
730
And param elementsetname = 'full'
0
731
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
732
When method get
1930
733
Then status 200
0
734
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '9c5351c8-d8f4-41c2-9642-42a63496a6fe'
2
735
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
2
736
* def title = get response //citation/CI_Citation/title/CharacterString
2
737
* def email = get response //electronicMailAddress/CharacterString
2
738
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
2
739
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
1
740
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
1
741
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
1
742
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
1
743
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
2
744
* print organisationpath
0
06:39:56.858 [print] Beheer PDOK
745
* print operateson
0
06:39:56.858 [print] http://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=03671a9e-6aaf-464d-be99-9aad25cef9e3#MD_DataIdentification
746
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
2
747
* eval db.writeln('"9c5351c8-d8f4-41c2-9642-42a63496a6fe","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
748
* eval db.writeln('"9c5351c8-d8f4-41c2-9642-42a63496a6fe","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
3
Scenario Outline: [1.23:18]94e5b115-bece-4140-99ed-93b8f363948e
ms: 1860
>>
Background:
749
* url 'http://nationaalgeoregister.nl/'
1
06:39:54.462 karate.env system property was:
750
* def mystorage = Java.type('storage.DataStorage')
1
751
* def db = new mystorage
1
752
* def db = db.setfeature(karate.info.featureFileName)
4
753
* def separator = java.lang.System.getProperty("file.separator")
1
754
* def outputpath = db.outputpath()
1
755
* eval db.ensureDirectory(outputpath)
1
756
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
757
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
758
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
759
Given path 'geonetwork/srv/dut/inspire'
0
760
And param service = 'CSW'
0
761
And param version = '2.0.2'
0
762
And param request = 'GetRecordById'
0
763
And param id = '94e5b115-bece-4140-99ed-93b8f363948e'
0
764
And param elementsetname = 'full'
0
765
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
766
When method get
1844
767
Then status 200
0
768
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '94e5b115-bece-4140-99ed-93b8f363948e'
2
769
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
770
* def title = get response //citation/CI_Citation/title/CharacterString
2
771
* def email = get response //electronicMailAddress/CharacterString
1
772
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
773
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
774
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
1
775
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
776
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
777
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
778
* print organisationpath
0
06:39:56.781 [print] Beheer PDOK
779
* print operateson
0
06:39:56.781 [print] https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=41daef8b-155e-4608-b49c-c87ea45d931c#MD_DataIdentification
780
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
781
* eval db.writeln('"94e5b115-bece-4140-99ed-93b8f363948e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
782
* eval db.writeln('"94e5b115-bece-4140-99ed-93b8f363948e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
3
Scenario Outline: [1.24:18]a02c6566-e0ad-4fc1-b217-67cc1099dea2
ms: 2131
>>
Background:
783
* url 'http://nationaalgeoregister.nl/'
1
06:39:54.462 karate.env system property was:
784
* def mystorage = Java.type('storage.DataStorage')
1
785
* def db = new mystorage
1
786
* def db = db.setfeature(karate.info.featureFileName)
4
787
* def separator = java.lang.System.getProperty("file.separator")
1
788
* def outputpath = db.outputpath()
1
789
* eval db.ensureDirectory(outputpath)
1
790
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
791
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
792
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
793
Given path 'geonetwork/srv/dut/inspire'
2
794
And param service = 'CSW'
0
795
And param version = '2.0.2'
0
796
And param request = 'GetRecordById'
0
797
And param id = 'a02c6566-e0ad-4fc1-b217-67cc1099dea2'
3
798
And param elementsetname = 'full'
0
799
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
800
When method get
2109
801
Then status 200
0
802
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'a02c6566-e0ad-4fc1-b217-67cc1099dea2'
5
803
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
804
* def title = get response //citation/CI_Citation/title/CharacterString
0
805
* def email = get response //electronicMailAddress/CharacterString
0
806
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
807
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
1
808
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
809
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
810
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
811
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
812
* print organisationpath
0
06:39:57.053 [print]
813
* print operateson
0
06:39:57.053 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=8b0b02a0-1e1b-4cda-bcfe-6fa0f738e38f#MD_DataIdentification
814
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
815
* eval db.writeln('"a02c6566-e0ad-4fc1-b217-67cc1099dea2","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
4
816
* eval db.writeln('"a02c6566-e0ad-4fc1-b217-67cc1099dea2","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
3
Scenario Outline: [1.25:18]664862cb-d426-4ee4-97ac-14c12b903b54
ms: 1631
>>
Background:
817
* url 'http://nationaalgeoregister.nl/'
1
06:39:54.462 karate.env system property was:
818
* def mystorage = Java.type('storage.DataStorage')
1
819
* def db = new mystorage
1
820
* def db = db.setfeature(karate.info.featureFileName)
4
821
* def separator = java.lang.System.getProperty("file.separator")
1
822
* def outputpath = db.outputpath()
1
823
* eval db.ensureDirectory(outputpath)
1
824
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
825
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
826
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
827
Given path 'geonetwork/srv/dut/inspire'
1
828
And param service = 'CSW'
0
829
And param version = '2.0.2'
0
830
And param request = 'GetRecordById'
0
831
And param id = '664862cb-d426-4ee4-97ac-14c12b903b54'
1
832
And param elementsetname = 'full'
0
833
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
834
When method get
1611
835
Then status 200
0
836
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '664862cb-d426-4ee4-97ac-14c12b903b54'
2
837
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
838
* def title = get response //citation/CI_Citation/title/CharacterString
1
839
* def email = get response //electronicMailAddress/CharacterString
1
840
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
841
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
1
842
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
843
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
844
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
1
845
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
846
* print organisationpath
0
06:39:57.143 [print] TNO Geologische Dienst Nederland
847
* print operateson
0
06:39:57.143 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&ID=6050578f-0010-4bfa-b013-c8617b80ba62&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full#MD_DataIdentification
848
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
849
* eval db.writeln('"664862cb-d426-4ee4-97ac-14c12b903b54","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
4
850
* eval db.writeln('"664862cb-d426-4ee4-97ac-14c12b903b54","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
6
Scenario Outline: [1.26:18]1cb58f52-c397-4cec-aba3-45358db3c4c9
ms: 1652
>>
Background:
851
* url 'http://nationaalgeoregister.nl/'
1
06:39:54.462 karate.env system property was:
852
* def mystorage = Java.type('storage.DataStorage')
1
853
* def db = new mystorage
1
854
* def db = db.setfeature(karate.info.featureFileName)
4
855
* def separator = java.lang.System.getProperty("file.separator")
1
856
* def outputpath = db.outputpath()
1
857
* eval db.ensureDirectory(outputpath)
1
858
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
859
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
860
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
861
Given path 'geonetwork/srv/dut/inspire'
1
862
And param service = 'CSW'
0
863
And param version = '2.0.2'
0
864
And param request = 'GetRecordById'
0
865
And param id = '1cb58f52-c397-4cec-aba3-45358db3c4c9'
1
866
And param elementsetname = 'full'
0
867
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
868
When method get
1627
869
Then status 200
0
870
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '1cb58f52-c397-4cec-aba3-45358db3c4c9'
1
871
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
2
872
* def title = get response //citation/CI_Citation/title/CharacterString
2
873
* def email = get response //electronicMailAddress/CharacterString
1
874
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
875
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
876
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
1
877
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
878
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
879
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
880
* print organisationpath
0
06:39:57.241 [print] Beheer PDOK
881
* print operateson
0
06:39:57.242 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=e80ad426-1392-4349-9f80-14dae5f1bf57#MD_DataIdentification
882
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
883
* eval db.writeln('"1cb58f52-c397-4cec-aba3-45358db3c4c9","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
6
884
* eval db.writeln('"1cb58f52-c397-4cec-aba3-45358db3c4c9","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
7
Scenario Outline: [1.27:18]578f993f-4d0b-4c4a-a08b-dfa9e1d1376e
ms: 1762
>>
Background:
885
* url 'http://nationaalgeoregister.nl/'
1
06:39:54.462 karate.env system property was:
886
* def mystorage = Java.type('storage.DataStorage')
1
887
* def db = new mystorage
1
888
* def db = db.setfeature(karate.info.featureFileName)
4
889
* def separator = java.lang.System.getProperty("file.separator")
1
890
* def outputpath = db.outputpath()
1
891
* eval db.ensureDirectory(outputpath)
1
892
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
893
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
894
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
895
Given path 'geonetwork/srv/dut/inspire'
0
896
And param service = 'CSW'
0
897
And param version = '2.0.2'
0
898
And param request = 'GetRecordById'
0
899
And param id = '578f993f-4d0b-4c4a-a08b-dfa9e1d1376e'
0
900
And param elementsetname = 'full'
0
901
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
902
When method get
1749
903
Then status 200
0
904
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '578f993f-4d0b-4c4a-a08b-dfa9e1d1376e'
1
905
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
906
* def title = get response //citation/CI_Citation/title/CharacterString
0
907
* def email = get response //electronicMailAddress/CharacterString
0
908
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
909
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
910
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
911
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
912
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
913
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
914
* print organisationpath
0
06:39:57.365 [print] Beheer PDOK
915
* print operateson
1
06:39:57.365 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=710c381c-ab2d-45d5-a45d-af2eba811e5f#MD_DataIdentification
916
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
917
* eval db.writeln('"578f993f-4d0b-4c4a-a08b-dfa9e1d1376e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
918
* eval db.writeln('"578f993f-4d0b-4c4a-a08b-dfa9e1d1376e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
3
Scenario Outline: [1.28:18]abf1f9f0-1b85-40e8-86ec-86bee6003b4e
ms: 1795
>>
Background:
919
* url 'http://nationaalgeoregister.nl/'
1
06:39:54.462 karate.env system property was:
920
* def mystorage = Java.type('storage.DataStorage')
1
921
* def db = new mystorage
1
922
* def db = db.setfeature(karate.info.featureFileName)
4
923
* def separator = java.lang.System.getProperty("file.separator")
1
924
* def outputpath = db.outputpath()
1
925
* eval db.ensureDirectory(outputpath)
1
926
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
927
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
928
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
929
Given path 'geonetwork/srv/dut/inspire'
0
930
And param service = 'CSW'
0
931
And param version = '2.0.2'
0
932
And param request = 'GetRecordById'
0
933
And param id = 'abf1f9f0-1b85-40e8-86ec-86bee6003b4e'
1
934
And param elementsetname = 'full'
0
935
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
936
When method get
1775
937
Then status 200
0
938
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'abf1f9f0-1b85-40e8-86ec-86bee6003b4e'
2
939
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
940
* def title = get response //citation/CI_Citation/title/CharacterString
1
941
* def email = get response //electronicMailAddress/CharacterString
1
942
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
943
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
1
944
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
1
945
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
1
946
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
1
947
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
948
* print organisationpath
1
06:39:57.427 [print] Beheer PDOK
949
* print operateson
0
06:39:57.428 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=1462bbce-ccd3-4362-83d8-4535ca8f44eb#MD_DataIdentification
950
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
951
* eval db.writeln('"abf1f9f0-1b85-40e8-86ec-86bee6003b4e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
952
* eval db.writeln('"abf1f9f0-1b85-40e8-86ec-86bee6003b4e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
6
Scenario Outline: [1.29:18]af4841b5-ce83-4edb-af41-429a21140316
ms: 1910
>>
Background:
953
* url 'http://nationaalgeoregister.nl/'
1
06:39:54.462 karate.env system property was:
954
* def mystorage = Java.type('storage.DataStorage')
1
955
* def db = new mystorage
1
956
* def db = db.setfeature(karate.info.featureFileName)
4
957
* def separator = java.lang.System.getProperty("file.separator")
1
958
* def outputpath = db.outputpath()
1
959
* eval db.ensureDirectory(outputpath)
1
960
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
961
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
962
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
963
Given path 'geonetwork/srv/dut/inspire'
0
964
And param service = 'CSW'
0
965
And param version = '2.0.2'
0
966
And param request = 'GetRecordById'
0
967
And param id = 'af4841b5-ce83-4edb-af41-429a21140316'
0
968
And param elementsetname = 'full'
0
969
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
970
When method get
1797
971
Then status 200
0
972
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'af4841b5-ce83-4edb-af41-429a21140316'
4
973
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
54
974
* def title = get response //citation/CI_Citation/title/CharacterString
11
975
* def email = get response //electronicMailAddress/CharacterString
6
976
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
5
977
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
13
978
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
4
979
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
2
980
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
1
981
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
5
982
* print organisationpath
0
06:39:57.628 [print] Beheer PDOK
983
* print operateson
0
06:39:57.628 [print] http://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=977e0e94-7aa9-4784-b2da-eaec44adb61b#MD_DataIdentification
984
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
2
985
* eval db.writeln('"af4841b5-ce83-4edb-af41-429a21140316","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
986
* eval db.writeln('"af4841b5-ce83-4edb-af41-429a21140316","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
3
Scenario Outline: [1.30:18]9940c446-6fd4-4ab3-a4de-7d0ee028a8d1
ms: 1778
>>
Background:
987
* url 'http://nationaalgeoregister.nl/'
1
06:39:54.462 karate.env system property was:
988
* def mystorage = Java.type('storage.DataStorage')
1
989
* def db = new mystorage
1
990
* def db = db.setfeature(karate.info.featureFileName)
4
991
* def separator = java.lang.System.getProperty("file.separator")
1
992
* def outputpath = db.outputpath()
1
993
* eval db.ensureDirectory(outputpath)
1
994
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
995
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
996
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
997
Given path 'geonetwork/srv/dut/inspire'
0
998
And param service = 'CSW'
0
999
And param version = '2.0.2'
0
1000
And param request = 'GetRecordById'
0
1001
And param id = '9940c446-6fd4-4ab3-a4de-7d0ee028a8d1'
1
1002
And param elementsetname = 'full'
0
1003
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
1004
When method get
1693
1005
Then status 200
0
1006
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '9940c446-6fd4-4ab3-a4de-7d0ee028a8d1'
2
1007
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
1008
* def title = get response //citation/CI_Citation/title/CharacterString
3
1009
* def email = get response //electronicMailAddress/CharacterString
3
1010
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
1011
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
55
1012
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
1
1013
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
1
1014
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
1015
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
1016
* print organisationpath
0
06:39:57.587 [print] Beheer PDOK
1017
* print operateson
0
06:39:57.587 [print] [
"http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=2220c0dd-3720-4e39-a130-171531c1e694#MD_DataIdentification",
"http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=78d31ab4-4116-45b7-bcf5-e14960916b0f#MD_DataIdentification",
"http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=b250f3a4-ed78-4c85-8cd5-f1af43841c6d#MD_DataIdentification"
]
1018
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
1019
* eval db.writeln('"9940c446-6fd4-4ab3-a4de-7d0ee028a8d1","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
8
1020
* eval db.writeln('"9940c446-6fd4-4ab3-a4de-7d0ee028a8d1","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
7
Scenario Outline: [1.31:18]a299a4af-ccd8-4d32-b1fb-ffab77b32e0e
ms: 1783
>>
Background:
1021
* url 'http://nationaalgeoregister.nl/'
1
06:39:54.462 karate.env system property was:
1022
* def mystorage = Java.type('storage.DataStorage')
1
1023
* def db = new mystorage
1
1024
* def db = db.setfeature(karate.info.featureFileName)
4
1025
* def separator = java.lang.System.getProperty("file.separator")
1
1026
* def outputpath = db.outputpath()
1
1027
* eval db.ensureDirectory(outputpath)
1
1028
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
1029
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
1030
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
1031
Given path 'geonetwork/srv/dut/inspire'
1
1032
And param service = 'CSW'
0
1033
And param version = '2.0.2'
0
1034
And param request = 'GetRecordById'
0
1035
And param id = 'a299a4af-ccd8-4d32-b1fb-ffab77b32e0e'
1
1036
And param elementsetname = 'full'
0
1037
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
1038
When method get
1766
1039
Then status 200
0
1040
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'a299a4af-ccd8-4d32-b1fb-ffab77b32e0e'
1
1041
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
1042
* def title = get response //citation/CI_Citation/title/CharacterString
0
1043
* def email = get response //electronicMailAddress/CharacterString
0
1044
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
1045
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
1046
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
1047
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
1048
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
1049
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
1050
* print organisationpath
0
06:39:57.680 [print] TNO Geologische Dienst Nederland
1051
* print operateson
0
06:39:57.680 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&ID=f99e915a-75e5-4c36-97f2-61eff692d85b&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full#MD_DataIdentification
1052
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
1053
* eval db.writeln('"a299a4af-ccd8-4d32-b1fb-ffab77b32e0e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
5
1054
* eval db.writeln('"a299a4af-ccd8-4d32-b1fb-ffab77b32e0e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
6
Scenario Outline: [1.32:18]42da491e-d8b9-47ba-af65-acb15ea8a055
ms: 1668
>>
Background:
1055
* url 'http://nationaalgeoregister.nl/'
1
06:39:54.462 karate.env system property was:
1056
* def mystorage = Java.type('storage.DataStorage')
1
1057
* def db = new mystorage
1
1058
* def db = db.setfeature(karate.info.featureFileName)
4
1059
* def separator = java.lang.System.getProperty("file.separator")
1
1060
* def outputpath = db.outputpath()
1
1061
* eval db.ensureDirectory(outputpath)
1
1062
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
1063
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
1064
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
1065
Given path 'geonetwork/srv/dut/inspire'
1
1066
And param service = 'CSW'
0
1067
And param version = '2.0.2'
0
1068
And param request = 'GetRecordById'
0
1069
And param id = '42da491e-d8b9-47ba-af65-acb15ea8a055'
1
1070
And param elementsetname = 'full'
0
1071
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
1072
When method get
1633
1073
Then status 200
0
1074
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '42da491e-d8b9-47ba-af65-acb15ea8a055'
1
1075
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
1076
* def title = get response //citation/CI_Citation/title/CharacterString
0
1077
* def email = get response //electronicMailAddress/CharacterString
1
1078
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
1079
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
1080
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
15
1081
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
1082
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
1083
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
1084
* print organisationpath
0
06:39:57.610 [print]
1085
* print operateson
0
06:39:57.610 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&ID=24de356e-ec4d-4a18-9903-6401d222b77c&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full#MD_DataIdentification
1086
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
1087
* eval db.writeln('"42da491e-d8b9-47ba-af65-acb15ea8a055","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
6
1088
* eval db.writeln('"42da491e-d8b9-47ba-af65-acb15ea8a055","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
8
Scenario Outline: [1.33:18]b196f948-5d87-4eb4-9854-a93841c3877f
ms: 1468
>>
Background:
1089
* url 'http://nationaalgeoregister.nl/'
1
06:39:54.462 karate.env system property was:
1090
* def mystorage = Java.type('storage.DataStorage')
1
1091
* def db = new mystorage
1
1092
* def db = db.setfeature(karate.info.featureFileName)
4
1093
* def separator = java.lang.System.getProperty("file.separator")
1
1094
* def outputpath = db.outputpath()
1
1095
* eval db.ensureDirectory(outputpath)
1
1096
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
1097
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
1098
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
1099
Given path 'geonetwork/srv/dut/inspire'
1
1100
And param service = 'CSW'
0
1101
And param version = '2.0.2'
0
1102
And param request = 'GetRecordById'
0
1103
And param id = 'b196f948-5d87-4eb4-9854-a93841c3877f'
0
1104
And param elementsetname = 'full'
0
1105
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
1106
When method get
1456
1107
Then status 200
0
1108
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'b196f948-5d87-4eb4-9854-a93841c3877f'
1
1109
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
1110
* def title = get response //citation/CI_Citation/title/CharacterString
1
1111
* def email = get response //electronicMailAddress/CharacterString
0
1112
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
1113
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
1114
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
1115
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
1116
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
1117
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
1118
* print organisationpath
0
06:39:57.670 [print] Beheer PDOK
1119
* print operateson
0
06:39:57.670 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=3703b249-a0eb-484e-ba7a-10e31a55bcec#MD_DataIdentification
1120
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
1121
* eval db.writeln('"b196f948-5d87-4eb4-9854-a93841c3877f","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
1122
* eval db.writeln('"b196f948-5d87-4eb4-9854-a93841c3877f","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.34:18]cd370f58-0e54-48d6-b83b-ccd332bfb7c7
ms: 1586
>>
Background:
1123
* url 'http://nationaalgeoregister.nl/'
1
06:39:54.462 karate.env system property was:
1124
* def mystorage = Java.type('storage.DataStorage')
1
1125
* def db = new mystorage
1
1126
* def db = db.setfeature(karate.info.featureFileName)
4
1127
* def separator = java.lang.System.getProperty("file.separator")
1
1128
* def outputpath = db.outputpath()
1
1129
* eval db.ensureDirectory(outputpath)
1
1130
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
1131
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
1132
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
1133
Given path 'geonetwork/srv/dut/inspire'
1
1134
And param service = 'CSW'
0
1135
And param version = '2.0.2'
0
1136
And param request = 'GetRecordById'
0
1137
And param id = 'cd370f58-0e54-48d6-b83b-ccd332bfb7c7'
0
1138
And param elementsetname = 'full'
0
1139
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
1140
When method get
1569
1141
Then status 200
0
1142
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'cd370f58-0e54-48d6-b83b-ccd332bfb7c7'
2
1143
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
1144
* def title = get response //citation/CI_Citation/title/CharacterString
0
1145
* def email = get response //electronicMailAddress/CharacterString
1
1146
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
1147
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
1148
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
1149
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
1150
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
1151
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
1152
* print organisationpath
0
06:39:57.807 [print]
1153
* print operateson
0
06:39:57.807 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=ad6caa40-89ab-47e3-85ab-3f8e32024a71#MD_DataIdentification
1154
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
1155
* eval db.writeln('"cd370f58-0e54-48d6-b83b-ccd332bfb7c7","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
5
1156
* eval db.writeln('"cd370f58-0e54-48d6-b83b-ccd332bfb7c7","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
4
Scenario Outline: [1.35:18]1ec5b9c9-4b4d-4b6a-930e-6e5198d9b2bb
ms: 1470
>>
Background:
1157
* url 'http://nationaalgeoregister.nl/'
1
06:39:54.462 karate.env system property was:
1158
* def mystorage = Java.type('storage.DataStorage')
1
1159
* def db = new mystorage
1
1160
* def db = db.setfeature(karate.info.featureFileName)
4
1161
* def separator = java.lang.System.getProperty("file.separator")
1
1162
* def outputpath = db.outputpath()
1
1163
* eval db.ensureDirectory(outputpath)
1
1164
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
1165
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
1166
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
1167
Given path 'geonetwork/srv/dut/inspire'
2
1168
And param service = 'CSW'
0
1169
And param version = '2.0.2'
0
1170
And param request = 'GetRecordById'
0
1171
And param id = '1ec5b9c9-4b4d-4b6a-930e-6e5198d9b2bb'
1
1172
And param elementsetname = 'full'
0
1173
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
1174
When method get
1450
1175
Then status 200
0
1176
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '1ec5b9c9-4b4d-4b6a-930e-6e5198d9b2bb'
1
1177
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
1178
* def title = get response //citation/CI_Citation/title/CharacterString
1
1179
* def email = get response //electronicMailAddress/CharacterString
0
1180
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
1181
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
2
1182
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
1183
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
1184
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
1185
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
1186
* print organisationpath
0
06:39:57.697 [print] Beheer PDOK
1187
* print operateson
0
06:39:57.697 [print] http://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=2d3dd6d2-2d2b-4b5f-9e30-86e19ed77a56#MD_DataIdentification
1188
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
1189
* eval db.writeln('"1ec5b9c9-4b4d-4b6a-930e-6e5198d9b2bb","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
1190
* eval db.writeln('"1ec5b9c9-4b4d-4b6a-930e-6e5198d9b2bb","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
9
Scenario Outline: [1.36:18]6a129fd1-0988-4b8a-975a-6ff134b6754a
ms: 1667
>>
Background:
1191
* url 'http://nationaalgeoregister.nl/'
1
06:39:54.462 karate.env system property was:
1192
* def mystorage = Java.type('storage.DataStorage')
1
1193
* def db = new mystorage
1
1194
* def db = db.setfeature(karate.info.featureFileName)
4
1195
* def separator = java.lang.System.getProperty("file.separator")
1
1196
* def outputpath = db.outputpath()
1
1197
* eval db.ensureDirectory(outputpath)
1
1198
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
1199
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
1200
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
1201
Given path 'geonetwork/srv/dut/inspire'
0
1202
And param service = 'CSW'
0
1203
And param version = '2.0.2'
0
1204
And param request = 'GetRecordById'
0
1205
And param id = '6a129fd1-0988-4b8a-975a-6ff134b6754a'
0
1206
And param elementsetname = 'full'
0
1207
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
1208
When method get
1639
1209
Then status 200
0
1210
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '6a129fd1-0988-4b8a-975a-6ff134b6754a'
4
1211
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
1212
* def title = get response //citation/CI_Citation/title/CharacterString
0
1213
* def email = get response //electronicMailAddress/CharacterString
1
1214
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
1215
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
1216
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
1217
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
1218
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
1219
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
1220
* print organisationpath
0
06:39:57.891 [print] Beheer PDOK
1221
* print operateson
0
06:39:57.891 [print] https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=002d9127-c16d-4b8d-9f5e-102a8c8e36c4#MD_DataIdentification
1222
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
1223
* eval db.writeln('"6a129fd1-0988-4b8a-975a-6ff134b6754a","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
7
1224
* eval db.writeln('"6a129fd1-0988-4b8a-975a-6ff134b6754a","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
11
Scenario Outline: [1.37:18]755d488b-7b94-4883-95be-6aa279604f85
ms: 1629
>>
Background:
1225
* url 'http://nationaalgeoregister.nl/'
1
06:39:54.462 karate.env system property was:
1226
* def mystorage = Java.type('storage.DataStorage')
1
1227
* def db = new mystorage
1
1228
* def db = db.setfeature(karate.info.featureFileName)
4
1229
* def separator = java.lang.System.getProperty("file.separator")
1
1230
* def outputpath = db.outputpath()
1
1231
* eval db.ensureDirectory(outputpath)
1
1232
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
1233
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
1234
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
1235
Given path 'geonetwork/srv/dut/inspire'
0
1236
And param service = 'CSW'
0
1237
And param version = '2.0.2'
0
1238
And param request = 'GetRecordById'
0
1239
And param id = '755d488b-7b94-4883-95be-6aa279604f85'
0
1240
And param elementsetname = 'full'
0
1241
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
1242
When method get
1600
1243
Then status 200
0
1244
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '755d488b-7b94-4883-95be-6aa279604f85'
1
1245
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
1246
* def title = get response //citation/CI_Citation/title/CharacterString
1
1247
* def email = get response //electronicMailAddress/CharacterString
0
1248
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
1249
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
1
1250
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
2
1251
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
1
1252
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
1
1253
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
1254
* print organisationpath
0
06:39:57.881 [print]
1255
* print operateson
0
06:39:57.882 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=36a7e8cb-8300-4602-93d2-135943365a6f#MD_DataIdentification
1256
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
1257
* eval db.writeln('"755d488b-7b94-4883-95be-6aa279604f85","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
10
1258
* eval db.writeln('"755d488b-7b94-4883-95be-6aa279604f85","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
8
Scenario Outline: [1.38:18]86cb5bcc-a199-43e2-9e03-2d0fe8bdfa3f
ms: 1746
>>
Background:
1259
* url 'http://nationaalgeoregister.nl/'
1
06:39:54.462 karate.env system property was:
1260
* def mystorage = Java.type('storage.DataStorage')
1
1261
* def db = new mystorage
1
1262
* def db = db.setfeature(karate.info.featureFileName)
4
1263
* def separator = java.lang.System.getProperty("file.separator")
1
1264
* def outputpath = db.outputpath()
1
1265
* eval db.ensureDirectory(outputpath)
1
1266
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
1267
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
1268
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
1269
Given path 'geonetwork/srv/dut/inspire'
0
1270
And param service = 'CSW'
0
1271
And param version = '2.0.2'
0
1272
And param request = 'GetRecordById'
0
1273
And param id = '86cb5bcc-a199-43e2-9e03-2d0fe8bdfa3f'
1
1274
And param elementsetname = 'full'
0
1275
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
1276
When method get
1732
1277
Then status 200
0
1278
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '86cb5bcc-a199-43e2-9e03-2d0fe8bdfa3f'
2
1279
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
1280
* def title = get response //citation/CI_Citation/title/CharacterString
1
1281
* def email = get response //electronicMailAddress/CharacterString
1
1282
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
1283
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
1
1284
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
1
1285
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
1
1286
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
1
1287
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
1288
* print organisationpath
0
06:39:58.041 [print] Beheer PDOK
1289
* print operateson
0
06:39:58.041 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=3a7dd0a6-d130-4c4c-b0ba-24365cf036e2#MD_DataIdentification
1290
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
1291
* eval db.writeln('"86cb5bcc-a199-43e2-9e03-2d0fe8bdfa3f","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
1292
* eval db.writeln('"86cb5bcc-a199-43e2-9e03-2d0fe8bdfa3f","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
3
Scenario Outline: [1.39:18]0e2580b7-2a15-41a2-b1b6-361265e4f5f4
ms: 1665
>>
Background:
1293
* url 'http://nationaalgeoregister.nl/'
1
06:39:54.462 karate.env system property was:
1294
* def mystorage = Java.type('storage.DataStorage')
1
1295
* def db = new mystorage
1
1296
* def db = db.setfeature(karate.info.featureFileName)
4
1297
* def separator = java.lang.System.getProperty("file.separator")
1
1298
* def outputpath = db.outputpath()
1
1299
* eval db.ensureDirectory(outputpath)
1
1300
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
1301
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
1302
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
1303
Given path 'geonetwork/srv/dut/inspire'
1
1304
And param service = 'CSW'
0
1305
And param version = '2.0.2'
0
1306
And param request = 'GetRecordById'
0
1307
And param id = '0e2580b7-2a15-41a2-b1b6-361265e4f5f4'
0
1308
And param elementsetname = 'full'
0
1309
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
1310
When method get
1652
1311
Then status 200
0
1312
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '0e2580b7-2a15-41a2-b1b6-361265e4f5f4'
1
1313
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
1314
* def title = get response //citation/CI_Citation/title/CharacterString
1
1315
* def email = get response //electronicMailAddress/CharacterString
1
1316
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
1317
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
1318
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
1
1319
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
1320
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
1321
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
1322
* print organisationpath
0
06:39:58.093 [print] Beheer PDOK
1323
* print operateson
0
06:39:58.093 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=b4ae622c-6201-49d8-bd2e-f7fce9206a1e#MD_DataIdentification
1324
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
1325
* eval db.writeln('"0e2580b7-2a15-41a2-b1b6-361265e4f5f4","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
1326
* eval db.writeln('"0e2580b7-2a15-41a2-b1b6-361265e4f5f4","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
3
Scenario Outline: [1.40:18]6ff5af41-4cb0-406a-a77c-a4cf4223cbc7
ms: 1648
>>
Background:
1327
* url 'http://nationaalgeoregister.nl/'
1
06:39:54.462 karate.env system property was:
1328
* def mystorage = Java.type('storage.DataStorage')
1
1329
* def db = new mystorage
1
1330
* def db = db.setfeature(karate.info.featureFileName)
4
1331
* def separator = java.lang.System.getProperty("file.separator")
1
1332
* def outputpath = db.outputpath()
1
1333
* eval db.ensureDirectory(outputpath)
1
1334
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
1335
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
1336
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
1337
Given path 'geonetwork/srv/dut/inspire'
0
1338
And param service = 'CSW'
0
1339
And param version = '2.0.2'
0
1340
And param request = 'GetRecordById'
0
1341
And param id = '6ff5af41-4cb0-406a-a77c-a4cf4223cbc7'
1
1342
And param elementsetname = 'full'
0
1343
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
1344
When method get
1630
1345
Then status 200
0
1346
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '6ff5af41-4cb0-406a-a77c-a4cf4223cbc7'
1
1347
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
1348
* def title = get response //citation/CI_Citation/title/CharacterString
1
1349
* def email = get response //electronicMailAddress/CharacterString
1
1350
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
1351
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
1352
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
1353
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
1354
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
1355
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
1356
* print organisationpath
0
06:39:58.136 [print] Beheer PDOK
1357
* print operateson
0
06:39:58.136 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=6cde2ce7-3ecd-4785-b7b8-d62c3381efe9#MD_DataIdentification
1358
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
1359
* eval db.writeln('"6ff5af41-4cb0-406a-a77c-a4cf4223cbc7","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
1360
* eval db.writeln('"6ff5af41-4cb0-406a-a77c-a4cf4223cbc7","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
8
Scenario Outline: [1.41:18]f20e948e-9e22-4b5a-96a1-f3cc1d16b808
ms: 1636
>>
Background:
1361
* url 'http://nationaalgeoregister.nl/'
1
06:39:54.462 karate.env system property was:
1362
* def mystorage = Java.type('storage.DataStorage')
1
1363
* def db = new mystorage
1
1364
* def db = db.setfeature(karate.info.featureFileName)
4
1365
* def separator = java.lang.System.getProperty("file.separator")
1
1366
* def outputpath = db.outputpath()
1
1367
* eval db.ensureDirectory(outputpath)
1
1368
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
1369
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
1370
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
1371
Given path 'geonetwork/srv/dut/inspire'
0
1372
And param service = 'CSW'
0
1373
And param version = '2.0.2'
0
1374
And param request = 'GetRecordById'
0
1375
And param id = 'f20e948e-9e22-4b5a-96a1-f3cc1d16b808'
1
1376
And param elementsetname = 'full'
0
1377
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
1378
When method get
1613
1379
Then status 200
0
1380
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'f20e948e-9e22-4b5a-96a1-f3cc1d16b808'
1
1381
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
1382
* def title = get response //citation/CI_Citation/title/CharacterString
1
1383
* def email = get response //electronicMailAddress/CharacterString
0
1384
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
1385
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
1386
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
1387
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
1388
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
1389
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
1390
* print organisationpath
0
06:39:58.127 [print] Beheer PDOK
1391
* print operateson
0
06:39:58.127 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=5a1adb58-0bbe-425d-b0fe-577a6c0a4228#MD_DataIdentification
1392
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
1393
* eval db.writeln('"f20e948e-9e22-4b5a-96a1-f3cc1d16b808","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
13
1394
* eval db.writeln('"f20e948e-9e22-4b5a-96a1-f3cc1d16b808","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.42:18]a4c5aa6c-6c7f-45d7-9799-011edd83d9c2
ms: 1613
>>
Background:
1395
* url 'http://nationaalgeoregister.nl/'
1
06:39:54.462 karate.env system property was:
1396
* def mystorage = Java.type('storage.DataStorage')
1
1397
* def db = new mystorage
1
1398
* def db = db.setfeature(karate.info.featureFileName)
4
1399
* def separator = java.lang.System.getProperty("file.separator")
1
1400
* def outputpath = db.outputpath()
1
1401
* eval db.ensureDirectory(outputpath)
1
1402
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
1403
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
1404
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
1405
Given path 'geonetwork/srv/dut/inspire'
0
1406
And param service = 'CSW'
0
1407
And param version = '2.0.2'
0
1408
And param request = 'GetRecordById'
0
1409
And param id = 'a4c5aa6c-6c7f-45d7-9799-011edd83d9c2'
0
1410
And param elementsetname = 'full'
0
1411
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
1412
When method get
1599
1413
Then status 200
0
1414
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'a4c5aa6c-6c7f-45d7-9799-011edd83d9c2'
2
1415
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
1416
* def title = get response //citation/CI_Citation/title/CharacterString
1
1417
* def email = get response //electronicMailAddress/CharacterString
1
1418
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
1419
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
1
1420
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
1421
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
1422
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
1423
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
1424
* print organisationpath
0
06:39:58.298 [print] Ministerie van Defensie, Koninklijke Marine, Dienst der Hydrografie
1425
* print operateson
0
06:39:58.298 [print] https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=c2225e5d-b46f-4e38-8445-ab10fd40c0dc#MD_DataIdentification
1426
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
1427
* eval db.writeln('"a4c5aa6c-6c7f-45d7-9799-011edd83d9c2","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
3
1428
* eval db.writeln('"a4c5aa6c-6c7f-45d7-9799-011edd83d9c2","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
3
Scenario Outline: [1.43:18]87a382da-c6dc-403c-a006-2379eb6daaa6
ms: 1716
>>
Background:
1429
* url 'http://nationaalgeoregister.nl/'
1
06:39:54.462 karate.env system property was:
1430
* def mystorage = Java.type('storage.DataStorage')
1
1431
* def db = new mystorage
1
1432
* def db = db.setfeature(karate.info.featureFileName)
4
1433
* def separator = java.lang.System.getProperty("file.separator")
1
1434
* def outputpath = db.outputpath()
1
1435
* eval db.ensureDirectory(outputpath)
1
1436
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
1437
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
1438
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
1439
Given path 'geonetwork/srv/dut/inspire'
1
1440
And param service = 'CSW'
0
1441
And param version = '2.0.2'
0
1442
And param request = 'GetRecordById'
0
1443
And param id = '87a382da-c6dc-403c-a006-2379eb6daaa6'
0
1444
And param elementsetname = 'full'
0
1445
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
1446
When method get
1694
1447
Then status 200
0
1448
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '87a382da-c6dc-403c-a006-2379eb6daaa6'
1
1449
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
1450
* def title = get response //citation/CI_Citation/title/CharacterString
4
1451
* def email = get response //electronicMailAddress/CharacterString
0
1452
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
1453
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
4
1454
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
1
1455
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
1456
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
1457
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
1458
* print organisationpath
0
06:39:58.419 [print] Ministerie van Defensie, Koninklijke Marine, Dienst der Hydrografie
1459
* print operateson
0
06:39:58.419 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=f1d27179-36eb-4376-8048-f51d2eb23a09&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full#MD_DataIdentification
1460
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
1461
* eval db.writeln('"87a382da-c6dc-403c-a006-2379eb6daaa6","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
5
1462
* eval db.writeln('"87a382da-c6dc-403c-a006-2379eb6daaa6","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.44:18]c474b492-da63-4a33-9bdd-b3709ce2cd6c
ms: 1599
>>
Background:
1463
* url 'http://nationaalgeoregister.nl/'
1
06:39:54.462 karate.env system property was:
1464
* def mystorage = Java.type('storage.DataStorage')
1
1465
* def db = new mystorage
1
1466
* def db = db.setfeature(karate.info.featureFileName)
4
1467
* def separator = java.lang.System.getProperty("file.separator")
1
1468
* def outputpath = db.outputpath()
1
1469
* eval db.ensureDirectory(outputpath)
1
1470
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
1471
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
1472
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
1473
Given path 'geonetwork/srv/dut/inspire'
1
1474
And param service = 'CSW'
0
1475
And param version = '2.0.2'
0
1476
And param request = 'GetRecordById'
0
1477
And param id = 'c474b492-da63-4a33-9bdd-b3709ce2cd6c'
1
1478
And param elementsetname = 'full'
0
1479
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
1480
When method get
1585
1481
Then status 200
0
1482
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'c474b492-da63-4a33-9bdd-b3709ce2cd6c'
2
1483
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
1484
* def title = get response //citation/CI_Citation/title/CharacterString
1
1485
* def email = get response //electronicMailAddress/CharacterString
0
1486
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
1487
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
1488
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
1
1489
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
1490
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
1491
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
1492
* print organisationpath
0
06:39:58.382 [print] Beheer PDOK
1493
* print operateson
0
06:39:58.382 [print] https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=58d39928-f502-48c9-a8c1-03244dc181bf#MD_DataIdentification
1494
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
1495
* eval db.writeln('"c474b492-da63-4a33-9bdd-b3709ce2cd6c","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
1496
* eval db.writeln('"c474b492-da63-4a33-9bdd-b3709ce2cd6c","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.45:18]fa3ecd49-4571-4eb3-84f3-2865f42934b2
ms: 1579
>>
Background:
1497
* url 'http://nationaalgeoregister.nl/'
1
06:39:54.462 karate.env system property was:
1498
* def mystorage = Java.type('storage.DataStorage')
1
1499
* def db = new mystorage
1
1500
* def db = db.setfeature(karate.info.featureFileName)
4
1501
* def separator = java.lang.System.getProperty("file.separator")
1
1502
* def outputpath = db.outputpath()
1
1503
* eval db.ensureDirectory(outputpath)
1
1504
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
1505
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
1506
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
1507
Given path 'geonetwork/srv/dut/inspire'
1
1508
And param service = 'CSW'
0
1509
And param version = '2.0.2'
0
1510
And param request = 'GetRecordById'
0
1511
And param id = 'fa3ecd49-4571-4eb3-84f3-2865f42934b2'
1
1512
And param elementsetname = 'full'
0
1513
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
1514
When method get
1553
1515
Then status 200
0
1516
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'fa3ecd49-4571-4eb3-84f3-2865f42934b2'
1
1517
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
5
1518
* def title = get response //citation/CI_Citation/title/CharacterString
0
1519
* def email = get response //electronicMailAddress/CharacterString
0
1520
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
1521
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
1522
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
2
1523
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
1524
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
1525
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
1526
* print organisationpath
0
06:39:58.429 [print] TNO Geologische Dienst Nederland
1527
* print operateson
0
06:39:58.429 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&ID=b61a773c-ecad-4e60-93e9-0a4caac0b52f&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full#MD_DataIdentification
1528
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
1529
* eval db.writeln('"fa3ecd49-4571-4eb3-84f3-2865f42934b2","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
5
1530
* eval db.writeln('"fa3ecd49-4571-4eb3-84f3-2865f42934b2","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
9
Scenario Outline: [1.46:18]32655f4b-551b-42c8-b071-95738d0f5daa
ms: 1502
>>
Background:
1531
* url 'http://nationaalgeoregister.nl/'
1
06:39:54.462 karate.env system property was:
1532
* def mystorage = Java.type('storage.DataStorage')
1
1533
* def db = new mystorage
1
1534
* def db = db.setfeature(karate.info.featureFileName)
4
1535
* def separator = java.lang.System.getProperty("file.separator")
1
1536
* def outputpath = db.outputpath()
1
1537
* eval db.ensureDirectory(outputpath)
1
1538
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
1539
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
1540
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
1541
Given path 'geonetwork/srv/dut/inspire'
1
1542
And param service = 'CSW'
0
1543
And param version = '2.0.2'
0
1544
And param request = 'GetRecordById'
0
1545
And param id = '32655f4b-551b-42c8-b071-95738d0f5daa'
0
1546
And param elementsetname = 'full'
0
1547
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
1548
When method get
1477
1549
Then status 200
0
1550
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '32655f4b-551b-42c8-b071-95738d0f5daa'
1
1551
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
3
1552
* def title = get response //citation/CI_Citation/title/CharacterString
0
1553
* def email = get response //electronicMailAddress/CharacterString
0
1554
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
1555
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
1556
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
1557
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
1558
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
1559
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
2
1560
* print organisationpath
0
06:39:58.426 [print] Beheer PDOK
1561
* print operateson
0
06:39:58.426 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=eu-cb527d-f6db-4835-b0cd-deb245241254
1562
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
4
1563
* eval db.writeln('"32655f4b-551b-42c8-b071-95738d0f5daa","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
6
1564
* eval db.writeln('"32655f4b-551b-42c8-b071-95738d0f5daa","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
4
Scenario Outline: [1.47:18]4f4c7848-1767-4c67-be08-87d45d07f313
ms: 1910
>>
Background:
1565
* url 'http://nationaalgeoregister.nl/'
1
06:39:54.462 karate.env system property was:
1566
* def mystorage = Java.type('storage.DataStorage')
1
1567
* def db = new mystorage
1
1568
* def db = db.setfeature(karate.info.featureFileName)
4
1569
* def separator = java.lang.System.getProperty("file.separator")
1
1570
* def outputpath = db.outputpath()
1
1571
* eval db.ensureDirectory(outputpath)
1
1572
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
1573
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
1574
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
1575
Given path 'geonetwork/srv/dut/inspire'
1
1576
And param service = 'CSW'
0
1577
And param version = '2.0.2'
0
1578
And param request = 'GetRecordById'
0
1579
And param id = '4f4c7848-1767-4c67-be08-87d45d07f313'
1
1580
And param elementsetname = 'full'
0
1581
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
1582
When method get
1868
1583
Then status 200
0
1584
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '4f4c7848-1767-4c67-be08-87d45d07f313'
9
1585
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
4
1586
* def title = get response //citation/CI_Citation/title/CharacterString
3
1587
* def email = get response //electronicMailAddress/CharacterString
3
1588
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
3
1589
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
2
1590
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
2
1591
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
2
1592
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
2
1593
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
3
1594
* print organisationpath
0
06:39:58.964 [print] Beheer PDOK
1595
* print operateson
0
06:39:58.964 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=f273941e-9c3b-43bc-b886-2d50d0bf9348#MD_DataIdentification
1596
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
3
1597
* eval db.writeln('"4f4c7848-1767-4c67-be08-87d45d07f313","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
1598
* eval db.writeln('"4f4c7848-1767-4c67-be08-87d45d07f313","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.48:18]275b64ab-34c2-41f8-8904-97812c7f716e
ms: 1644
>>
Background:
1599
* url 'http://nationaalgeoregister.nl/'
1
06:39:54.462 karate.env system property was:
1600
* def mystorage = Java.type('storage.DataStorage')
1
1601
* def db = new mystorage
1
1602
* def db = db.setfeature(karate.info.featureFileName)
4
1603
* def separator = java.lang.System.getProperty("file.separator")
1
1604
* def outputpath = db.outputpath()
1
1605
* eval db.ensureDirectory(outputpath)
1
1606
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
1607
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
1608
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
1609
Given path 'geonetwork/srv/dut/inspire'
1
1610
And param service = 'CSW'
0
1611
And param version = '2.0.2'
0
1612
And param request = 'GetRecordById'
0
1613
And param id = '275b64ab-34c2-41f8-8904-97812c7f716e'
1
1614
And param elementsetname = 'full'
0
1615
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
1616
When method get
1631
1617
Then status 200
0
1618
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '275b64ab-34c2-41f8-8904-97812c7f716e'
2
1619
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
1620
* def title = get response //citation/CI_Citation/title/CharacterString
1
1621
* def email = get response //electronicMailAddress/CharacterString
1
1622
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
1623
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
1
1624
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
1625
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
1626
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
1627
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
1628
* print organisationpath
0
06:39:58.793 [print] Beheer PDOK
1629
* print operateson
0
06:39:58.794 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=19165027-a13a-4c19-9013-ec1fd191019d#MD_DataIdentification
1630
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
1631
* eval db.writeln('"275b64ab-34c2-41f8-8904-97812c7f716e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
1632
* eval db.writeln('"275b64ab-34c2-41f8-8904-97812c7f716e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.49:18]68722979-8d6c-4ee4-a81a-8381d2588fe5
ms: 1831
>>
Background:
1633
* url 'http://nationaalgeoregister.nl/'
1
06:39:54.462 karate.env system property was:
1634
* def mystorage = Java.type('storage.DataStorage')
1
1635
* def db = new mystorage
1
1636
* def db = db.setfeature(karate.info.featureFileName)
4
1637
* def separator = java.lang.System.getProperty("file.separator")
1
1638
* def outputpath = db.outputpath()
1
1639
* eval db.ensureDirectory(outputpath)
1
1640
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
1641
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
1642
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
1643
Given path 'geonetwork/srv/dut/inspire'
1
1644
And param service = 'CSW'
0
1645
And param version = '2.0.2'
0
1646
And param request = 'GetRecordById'
0
1647
And param id = '68722979-8d6c-4ee4-a81a-8381d2588fe5'
1
1648
And param elementsetname = 'full'
0
1649
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
1650
When method get
1806
1651
Then status 200
0
1652
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '68722979-8d6c-4ee4-a81a-8381d2588fe5'
1
1653
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
1654
* def title = get response //citation/CI_Citation/title/CharacterString
0
1655
* def email = get response //electronicMailAddress/CharacterString
0
1656
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
1657
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
1
1658
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
1659
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
1660
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
1
1661
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
8
1662
* print organisationpath
0
06:39:59.078 [print] Beheer PDOK
1663
* print operateson
0
06:39:59.078 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=eu-f297898-2640-44c2-bbe9-c0480da83794#MD_DataIdentification
1664
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
1665
* eval db.writeln('"68722979-8d6c-4ee4-a81a-8381d2588fe5","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
6
1666
* eval db.writeln('"68722979-8d6c-4ee4-a81a-8381d2588fe5","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.50:18]d94b1eca-8a7d-4dc4-b979-36257878758f
ms: 1656
>>
Background:
1667
* url 'http://nationaalgeoregister.nl/'
1
06:39:54.462 karate.env system property was:
1668
* def mystorage = Java.type('storage.DataStorage')
1
1669
* def db = new mystorage
1
1670
* def db = db.setfeature(karate.info.featureFileName)
4
1671
* def separator = java.lang.System.getProperty("file.separator")
1
1672
* def outputpath = db.outputpath()
1
1673
* eval db.ensureDirectory(outputpath)
1
1674
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
1675
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
1676
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
1677
Given path 'geonetwork/srv/dut/inspire'
1
1678
And param service = 'CSW'
0
1679
And param version = '2.0.2'
0
1680
And param request = 'GetRecordById'
0
1681
And param id = 'd94b1eca-8a7d-4dc4-b979-36257878758f'
1
1682
And param elementsetname = 'full'
0
1683
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
1684
When method get
1636
1685
Then status 200
0
1686
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'd94b1eca-8a7d-4dc4-b979-36257878758f'
6
1687
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
1688
* def title = get response //citation/CI_Citation/title/CharacterString
1
1689
* def email = get response //electronicMailAddress/CharacterString
1
1690
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
1691
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
1
1692
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
1
1693
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
1
1694
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
1
1695
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
1696
* print organisationpath
0
06:39:58.909 [print]
1697
* print operateson
0
06:39:58.909 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=effe1ab0-073d-437c-af13-df5c5e07d6cd#MD_DataIdentification
1698
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
1699
* eval db.writeln('"d94b1eca-8a7d-4dc4-b979-36257878758f","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
1700
* eval db.writeln('"d94b1eca-8a7d-4dc4-b979-36257878758f","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.51:18]a1ed8a00-da07-472e-9627-99175d437c94
ms: 1715
>>
Background:
1701
* url 'http://nationaalgeoregister.nl/'
1
06:39:54.462 karate.env system property was:
1702
* def mystorage = Java.type('storage.DataStorage')
1
1703
* def db = new mystorage
1
1704
* def db = db.setfeature(karate.info.featureFileName)
4
1705
* def separator = java.lang.System.getProperty("file.separator")
1
1706
* def outputpath = db.outputpath()
1
1707
* eval db.ensureDirectory(outputpath)
1
1708
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
1709
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
1710
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
1711
Given path 'geonetwork/srv/dut/inspire'
1
1712
And param service = 'CSW'
0
1713
And param version = '2.0.2'
0
1714
And param request = 'GetRecordById'
0
1715
And param id = 'a1ed8a00-da07-472e-9627-99175d437c94'
1
1716
And param elementsetname = 'full'
0
1717
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
1718
When method get
1683
1719
Then status 200
0
1720
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'a1ed8a00-da07-472e-9627-99175d437c94'
2
1721
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
1722
* def title = get response //citation/CI_Citation/title/CharacterString
1
1723
* def email = get response //electronicMailAddress/CharacterString
1
1724
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
1725
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
1
1726
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
3
1727
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
1728
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
3
1729
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
7
1730
* print organisationpath
0
06:39:59.076 [print] Beheer PDOK
1731
* print operateson
0
06:39:59.076 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=83dab947-387b-49df-8ad2-32bb10d46d38#MD_DataIdentification
1732
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
1733
* eval db.writeln('"a1ed8a00-da07-472e-9627-99175d437c94","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
8
1734
* eval db.writeln('"a1ed8a00-da07-472e-9627-99175d437c94","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
3
Scenario Outline: [1.52:18]6d86c14f-cccf-41e9-a58e-ead9d52ae35d
ms: 1652
>>
Background:
1735
* url 'http://nationaalgeoregister.nl/'
1
06:39:54.462 karate.env system property was:
1736
* def mystorage = Java.type('storage.DataStorage')
1
1737
* def db = new mystorage
1
1738
* def db = db.setfeature(karate.info.featureFileName)
4
1739
* def separator = java.lang.System.getProperty("file.separator")
1
1740
* def outputpath = db.outputpath()
1
1741
* eval db.ensureDirectory(outputpath)
1
1742
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
1743
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
1744
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
1745
Given path 'geonetwork/srv/dut/inspire'
1
1746
And param service = 'CSW'
0
1747
And param version = '2.0.2'
0
1748
And param request = 'GetRecordById'
0
1749
And param id = '6d86c14f-cccf-41e9-a58e-ead9d52ae35d'
1
1750
And param elementsetname = 'full'
0
1751
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
1752
When method get
1631
1753
Then status 200
0
1754
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '6d86c14f-cccf-41e9-a58e-ead9d52ae35d'
1
1755
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
1756
* def title = get response //citation/CI_Citation/title/CharacterString
0
1757
* def email = get response //electronicMailAddress/CharacterString
0
1758
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
1759
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
1760
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
1761
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
1762
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
1763
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
1764
* print organisationpath
0
06:39:59.074 [print] Informatiehuis Water
1765
* print operateson
0
06:39:59.074 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/nl/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=110f9ec6-4464-462e-9765-83d90cefbeab&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full
1766
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
1767
* eval db.writeln('"6d86c14f-cccf-41e9-a58e-ead9d52ae35d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
5
1768
* eval db.writeln('"6d86c14f-cccf-41e9-a58e-ead9d52ae35d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
10
Scenario Outline: [1.53:18]3dc373ae-fcf6-49c9-b315-9a2178bffe4a
ms: 1668
>>
Background:
1769
* url 'http://nationaalgeoregister.nl/'
1
06:39:54.462 karate.env system property was:
1770
* def mystorage = Java.type('storage.DataStorage')
1
1771
* def db = new mystorage
1
1772
* def db = db.setfeature(karate.info.featureFileName)
4
1773
* def separator = java.lang.System.getProperty("file.separator")
1
1774
* def outputpath = db.outputpath()
1
1775
* eval db.ensureDirectory(outputpath)
1
1776
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
1777
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
1778
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
1779
Given path 'geonetwork/srv/dut/inspire'
9
1780
And param service = 'CSW'
0
1781
And param version = '2.0.2'
0
1782
And param request = 'GetRecordById'
0
1783
And param id = '3dc373ae-fcf6-49c9-b315-9a2178bffe4a'
1
1784
And param elementsetname = 'full'
0
1785
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
1786
When method get
1637
1787
Then status 200
0
1788
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '3dc373ae-fcf6-49c9-b315-9a2178bffe4a'
2
1789
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
1790
* def title = get response //citation/CI_Citation/title/CharacterString
1
1791
* def email = get response //electronicMailAddress/CharacterString
4
1792
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
1793
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
1794
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
1795
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
1796
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
1797
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
1798
* print organisationpath
0
06:39:59.271 [print] Beheer PDOK
1799
* print operateson
0
06:39:59.272 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=d6b85d84-cdb9-4a6e-b799-cf8826e22a94#MD_DataIdentification
1800
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
4
1801
* eval db.writeln('"3dc373ae-fcf6-49c9-b315-9a2178bffe4a","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
4
1802
* eval db.writeln('"3dc373ae-fcf6-49c9-b315-9a2178bffe4a","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.54:18]0d2ca03b-fb7b-466a-bb93-e2bfb596e394
ms: 1651
>>
Background:
1803
* url 'http://nationaalgeoregister.nl/'
1
06:39:54.462 karate.env system property was:
1804
* def mystorage = Java.type('storage.DataStorage')
1
1805
* def db = new mystorage
1
1806
* def db = db.setfeature(karate.info.featureFileName)
4
1807
* def separator = java.lang.System.getProperty("file.separator")
1
1808
* def outputpath = db.outputpath()
1
1809
* eval db.ensureDirectory(outputpath)
1
1810
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
1811
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
1812
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
1813
Given path 'geonetwork/srv/dut/inspire'
1
1814
And param service = 'CSW'
0
1815
And param version = '2.0.2'
0
1816
And param request = 'GetRecordById'
0
1817
And param id = '0d2ca03b-fb7b-466a-bb93-e2bfb596e394'
1
1818
And param elementsetname = 'full'
0
1819
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
1820
When method get
1639
1821
Then status 200
0
1822
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '0d2ca03b-fb7b-466a-bb93-e2bfb596e394'
1
1823
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
1824
* def title = get response //citation/CI_Citation/title/CharacterString
0
1825
* def email = get response //electronicMailAddress/CharacterString
0
1826
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
1827
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
1828
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
1829
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
1830
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
1831
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
1832
* print organisationpath
0
06:39:59.271 [print] Ministerie van Defensie, Koninklijke Marine, Dienst der Hydrografie
1833
* print operateson
0
06:39:59.271 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=f1d27179-36eb-4376-8048-f51d2eb23a09&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full#MD_DataIdentification
1834
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
1835
* eval db.writeln('"0d2ca03b-fb7b-466a-bb93-e2bfb596e394","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
1836
* eval db.writeln('"0d2ca03b-fb7b-466a-bb93-e2bfb596e394","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
3
Scenario Outline: [1.55:18]1ff0035a-acc0-4a67-a76c-3b79646b4eef
ms: 1770
>>
Background:
1837
* url 'http://nationaalgeoregister.nl/'
1
06:39:54.462 karate.env system property was:
1838
* def mystorage = Java.type('storage.DataStorage')
1
1839
* def db = new mystorage
1
1840
* def db = db.setfeature(karate.info.featureFileName)
4
1841
* def separator = java.lang.System.getProperty("file.separator")
1
1842
* def outputpath = db.outputpath()
1
1843
* eval db.ensureDirectory(outputpath)
1
1844
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
1845
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
1846
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
1847
Given path 'geonetwork/srv/dut/inspire'
0
1848
And param service = 'CSW'
0
1849
And param version = '2.0.2'
0
1850
And param request = 'GetRecordById'
0
1851
And param id = '1ff0035a-acc0-4a67-a76c-3b79646b4eef'
1
1852
And param elementsetname = 'full'
0
1853
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
1854
When method get
1760
1855
Then status 200
0
1856
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '1ff0035a-acc0-4a67-a76c-3b79646b4eef'
1
1857
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
1858
* def title = get response //citation/CI_Citation/title/CharacterString
0
1859
* def email = get response //electronicMailAddress/CharacterString
0
1860
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
1861
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
1862
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
1863
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
1864
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
1865
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
1866
* print organisationpath
0
06:39:59.401 [print] Ministerie van Defensie, Koninklijke Marine, Dienst der Hydrografie
1867
* print operateson
0
06:39:59.402 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=be6551de-a709-4c6d-a5e2-f63f0cf038ba&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full#MD_DataIdentification
1868
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
1869
* eval db.writeln('"1ff0035a-acc0-4a67-a76c-3b79646b4eef","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
1870
* eval db.writeln('"1ff0035a-acc0-4a67-a76c-3b79646b4eef","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.56:18]7827b68f-647e-46cc-a02a-cac48eaa5dda
ms: 1968
>>
Background:
1871
* url 'http://nationaalgeoregister.nl/'
1
06:39:54.462 karate.env system property was:
1872
* def mystorage = Java.type('storage.DataStorage')
1
1873
* def db = new mystorage
1
1874
* def db = db.setfeature(karate.info.featureFileName)
4
1875
* def separator = java.lang.System.getProperty("file.separator")
1
1876
* def outputpath = db.outputpath()
1
1877
* eval db.ensureDirectory(outputpath)
1
1878
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
1879
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
1880
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
1881
Given path 'geonetwork/srv/dut/inspire'
4
1882
And param service = 'CSW'
0
1883
And param version = '2.0.2'
0
1884
And param request = 'GetRecordById'
0
1885
And param id = '7827b68f-647e-46cc-a02a-cac48eaa5dda'
2
1886
And param elementsetname = 'full'
0
1887
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
1888
When method get
1951
1889
Then status 200
0
1890
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '7827b68f-647e-46cc-a02a-cac48eaa5dda'
1
1891
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
1892
* def title = get response //citation/CI_Citation/title/CharacterString
1
1893
* def email = get response //electronicMailAddress/CharacterString
1
1894
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
1895
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
1896
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
1897
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
1898
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
1899
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
1900
* print organisationpath
0
06:39:59.638 [print] Beheer PDOK
1901
* print operateson
0
06:39:59.639 [print] https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=58d39928-f502-48c9-a8c1-03244dc181bf#MD_DataIdentification
1902
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
1903
* eval db.writeln('"7827b68f-647e-46cc-a02a-cac48eaa5dda","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
1904
* eval db.writeln('"7827b68f-647e-46cc-a02a-cac48eaa5dda","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
3
Scenario Outline: [1.57:18]2ca26f5e-0b39-48a4-9e8d-7b9ffde9a5b0
ms: 2104
>>
Background:
1905
* url 'http://nationaalgeoregister.nl/'
1
06:39:54.462 karate.env system property was:
1906
* def mystorage = Java.type('storage.DataStorage')
1
1907
* def db = new mystorage
1
1908
* def db = db.setfeature(karate.info.featureFileName)
4
1909
* def separator = java.lang.System.getProperty("file.separator")
1
1910
* def outputpath = db.outputpath()
1
1911
* eval db.ensureDirectory(outputpath)
1
1912
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
1913
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
1914
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
1915
Given path 'geonetwork/srv/dut/inspire'
1
1916
And param service = 'CSW'
0
1917
And param version = '2.0.2'
0
1918
And param request = 'GetRecordById'
0
1919
And param id = '2ca26f5e-0b39-48a4-9e8d-7b9ffde9a5b0'
1
1920
And param elementsetname = 'full'
0
1921
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
1922
When method get
2083
1923
Then status 200
0
1924
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '2ca26f5e-0b39-48a4-9e8d-7b9ffde9a5b0'
1
1925
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
1926
* def title = get response //citation/CI_Citation/title/CharacterString
5
1927
* def email = get response //electronicMailAddress/CharacterString
1
1928
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
1929
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
1930
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
1931
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
5
1932
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
1933
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
1934
* print organisationpath
0
06:39:59.792 [print] Beheer PDOK
1935
* print operateson
0
06:39:59.792 [print] http://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=ror-9d8e-4758-83fx-28b057f185g1#MD_DataIdentification
1936
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
1937
* eval db.writeln('"2ca26f5e-0b39-48a4-9e8d-7b9ffde9a5b0","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
1938
* eval db.writeln('"2ca26f5e-0b39-48a4-9e8d-7b9ffde9a5b0","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.58:18]40c4ec8c-14b2-4104-982b-c0ebfd5397c4
ms: 1987
>>
Background:
1939
* url 'http://nationaalgeoregister.nl/'
1
06:39:54.462 karate.env system property was:
1940
* def mystorage = Java.type('storage.DataStorage')
1
1941
* def db = new mystorage
1
1942
* def db = db.setfeature(karate.info.featureFileName)
4
1943
* def separator = java.lang.System.getProperty("file.separator")
1
1944
* def outputpath = db.outputpath()
1
1945
* eval db.ensureDirectory(outputpath)
1
1946
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
1947
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
1948
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
1949
Given path 'geonetwork/srv/dut/inspire'
1
1950
And param service = 'CSW'
0
1951
And param version = '2.0.2'
0
1952
And param request = 'GetRecordById'
0
1953
And param id = '40c4ec8c-14b2-4104-982b-c0ebfd5397c4'
1
1954
And param elementsetname = 'full'
0
1955
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
1956
When method get
1966
1957
Then status 200
0
1958
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '40c4ec8c-14b2-4104-982b-c0ebfd5397c4'
1
1959
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
1960
* def title = get response //citation/CI_Citation/title/CharacterString
0
1961
* def email = get response //electronicMailAddress/CharacterString
1
1962
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
1963
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
1964
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
1965
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
1966
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
1967
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
1968
* print organisationpath
0
06:39:59.682 [print] Beheer PDOK
1969
* print operateson
0
06:39:59.682 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=db8d613f-5edc-4467-9cc0-e2dcfb9d64a8#MD_DataIdentification
1970
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
1971
* eval db.writeln('"40c4ec8c-14b2-4104-982b-c0ebfd5397c4","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
1972
* eval db.writeln('"40c4ec8c-14b2-4104-982b-c0ebfd5397c4","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
11
Scenario Outline: [1.59:18]1c0dcc64-91aa-4d44-a9e3-54355556f5e7
ms: 1976
>>
Background:
1973
* url 'http://nationaalgeoregister.nl/'
1
06:39:54.462 karate.env system property was:
1974
* def mystorage = Java.type('storage.DataStorage')
1
1975
* def db = new mystorage
1
1976
* def db = db.setfeature(karate.info.featureFileName)
4
1977
* def separator = java.lang.System.getProperty("file.separator")
1
1978
* def outputpath = db.outputpath()
1
1979
* eval db.ensureDirectory(outputpath)
1
1980
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
1981
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
1982
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
1983
Given path 'geonetwork/srv/dut/inspire'
1
1984
And param service = 'CSW'
0
1985
And param version = '2.0.2'
0
1986
And param request = 'GetRecordById'
0
1987
And param id = '1c0dcc64-91aa-4d44-a9e3-54355556f5e7'
1
1988
And param elementsetname = 'full'
0
1989
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
1990
When method get
1953
1991
Then status 200
0
1992
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '1c0dcc64-91aa-4d44-a9e3-54355556f5e7'
2
1993
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
1994
* def title = get response //citation/CI_Citation/title/CharacterString
1
1995
* def email = get response //electronicMailAddress/CharacterString
1
1996
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
2
1997
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
1
1998
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
1
1999
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
1
2000
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
5
2001
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
2002
* print organisationpath
0
06:39:59.785 [print] Beheer PDOK
2003
* print operateson
0
06:39:59.785 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=aa3b5e6e-7baa-40c0-8972-3353e927ec2f#MD_DataIdentification
2004
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
2005
* eval db.writeln('"1c0dcc64-91aa-4d44-a9e3-54355556f5e7","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
5
2006
* eval db.writeln('"1c0dcc64-91aa-4d44-a9e3-54355556f5e7","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.60:18]bd14098b-44e6-47e5-959d-f40dda65da5a
ms: 1952
>>
Background:
2007
* url 'http://nationaalgeoregister.nl/'
1
06:39:54.462 karate.env system property was:
2008
* def mystorage = Java.type('storage.DataStorage')
1
2009
* def db = new mystorage
1
2010
* def db = db.setfeature(karate.info.featureFileName)
4
2011
* def separator = java.lang.System.getProperty("file.separator")
1
2012
* def outputpath = db.outputpath()
1
2013
* eval db.ensureDirectory(outputpath)
1
2014
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
2015
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
2016
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
2017
Given path 'geonetwork/srv/dut/inspire'
0
2018
And param service = 'CSW'
0
2019
And param version = '2.0.2'
0
2020
And param request = 'GetRecordById'
0
2021
And param id = 'bd14098b-44e6-47e5-959d-f40dda65da5a'
1
2022
And param elementsetname = 'full'
0
2023
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
2024
When method get
1941
2025
Then status 200
0
2026
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'bd14098b-44e6-47e5-959d-f40dda65da5a'
2
2027
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
2028
* def title = get response //citation/CI_Citation/title/CharacterString
0
2029
* def email = get response //electronicMailAddress/CharacterString
0
2030
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
2031
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
2032
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
2033
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
2034
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
2035
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
2036
* print organisationpath
0
06:39:59.849 [print]
2037
* print operateson
0
06:39:59.849 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=d9baa847-4652-4588-abe1-0b050f40f27f#MD_DataIdentification
2038
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
2039
* eval db.writeln('"bd14098b-44e6-47e5-959d-f40dda65da5a","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
2040
* eval db.writeln('"bd14098b-44e6-47e5-959d-f40dda65da5a","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.61:18]54d2021b-e778-4834-a3c6-75c89d36b942
ms: 2034
>>
Background:
2041
* url 'http://nationaalgeoregister.nl/'
1
06:39:54.462 karate.env system property was:
2042
* def mystorage = Java.type('storage.DataStorage')
1
2043
* def db = new mystorage
1
2044
* def db = db.setfeature(karate.info.featureFileName)
4
2045
* def separator = java.lang.System.getProperty("file.separator")
1
2046
* def outputpath = db.outputpath()
1
2047
* eval db.ensureDirectory(outputpath)
1
2048
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
2049
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
2050
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
2051
Given path 'geonetwork/srv/dut/inspire'
0
2052
And param service = 'CSW'
0
2053
And param version = '2.0.2'
0
2054
And param request = 'GetRecordById'
0
2055
And param id = '54d2021b-e778-4834-a3c6-75c89d36b942'
0
2056
And param elementsetname = 'full'
0
2057
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
2058
When method get
2020
2059
Then status 200
0
2060
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '54d2021b-e778-4834-a3c6-75c89d36b942'
2
2061
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
2062
* def title = get response //citation/CI_Citation/title/CharacterString
1
2063
* def email = get response //electronicMailAddress/CharacterString
0
2064
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
2
2065
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
2066
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
1
2067
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
2068
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
2069
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
2070
* print organisationpath
0
06:39:59.940 [print] Beheer PDOK
2071
* print operateson
0
06:39:59.940 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=2ae3e9b7-aa79-41d4-a35b-c9a0fee69e5c#MD_DataIdentification
2072
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
2073
* eval db.writeln('"54d2021b-e778-4834-a3c6-75c89d36b942","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
2074
* eval db.writeln('"54d2021b-e778-4834-a3c6-75c89d36b942","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.62:18]e258f171-6f56-4d4d-8311-027b30213c2d
ms: 1955
>>
Background:
2075
* url 'http://nationaalgeoregister.nl/'
1
06:39:54.462 karate.env system property was:
2076
* def mystorage = Java.type('storage.DataStorage')
1
2077
* def db = new mystorage
1
2078
* def db = db.setfeature(karate.info.featureFileName)
4
2079
* def separator = java.lang.System.getProperty("file.separator")
1
2080
* def outputpath = db.outputpath()
1
2081
* eval db.ensureDirectory(outputpath)
1
2082
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
2083
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
2084
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
2085
Given path 'geonetwork/srv/dut/inspire'
1
2086
And param service = 'CSW'
0
2087
And param version = '2.0.2'
0
2088
And param request = 'GetRecordById'
0
2089
And param id = 'e258f171-6f56-4d4d-8311-027b30213c2d'
1
2090
And param elementsetname = 'full'
0
2091
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
2092
When method get
1943
2093
Then status 200
0
2094
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'e258f171-6f56-4d4d-8311-027b30213c2d'
1
2095
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
2096
* def title = get response //citation/CI_Citation/title/CharacterString
1
2097
* def email = get response //electronicMailAddress/CharacterString
1
2098
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
2099
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
2100
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
2101
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
2102
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
2103
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
2104
* print organisationpath
0
06:39:59.998 [print]
2105
* print operateson
0
06:39:59.998 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=e80ad426-1392-4349-9f80-14dae5f1bf57#MD_DataIdentification
2106
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
2107
* eval db.writeln('"e258f171-6f56-4d4d-8311-027b30213c2d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
2108
* eval db.writeln('"e258f171-6f56-4d4d-8311-027b30213c2d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.63:18]5471a93b-cf18-43f5-9ddb-71987857435d
ms: 2027
>>
Background:
2109
* url 'http://nationaalgeoregister.nl/'
1
06:39:54.462 karate.env system property was:
2110
* def mystorage = Java.type('storage.DataStorage')
1
2111
* def db = new mystorage
1
2112
* def db = db.setfeature(karate.info.featureFileName)
4
2113
* def separator = java.lang.System.getProperty("file.separator")
1
2114
* def outputpath = db.outputpath()
1
2115
* eval db.ensureDirectory(outputpath)
1
2116
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
2117
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
2118
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
2119
Given path 'geonetwork/srv/dut/inspire'
1
2120
And param service = 'CSW'
0
2121
And param version = '2.0.2'
0
2122
And param request = 'GetRecordById'
0
2123
And param id = '5471a93b-cf18-43f5-9ddb-71987857435d'
1
2124
And param elementsetname = 'full'
0
2125
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
2126
When method get
2016
2127
Then status 200
0
2128
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '5471a93b-cf18-43f5-9ddb-71987857435d'
2
2129
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
2130
* def title = get response //citation/CI_Citation/title/CharacterString
0
2131
* def email = get response //electronicMailAddress/CharacterString
0
2132
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
2133
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
2134
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
2135
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
2136
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
2137
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
2138
* print organisationpath
0
06:40:00.121 [print] TNO Geologische Dienst Nederland
2139
* print operateson
0
06:40:00.121 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&ID=6050578f-0010-4bfa-b013-c8617b80ba62&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full#MD_DataIdentification
2140
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
2141
* eval db.writeln('"5471a93b-cf18-43f5-9ddb-71987857435d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
2142
* eval db.writeln('"5471a93b-cf18-43f5-9ddb-71987857435d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.64:18]3d01c1ca-973c-4652-baa5-39458bb9e181
ms: 2058
>>
Background:
2143
* url 'http://nationaalgeoregister.nl/'
1
06:39:54.462 karate.env system property was:
2144
* def mystorage = Java.type('storage.DataStorage')
1
2145
* def db = new mystorage
1
2146
* def db = db.setfeature(karate.info.featureFileName)
4
2147
* def separator = java.lang.System.getProperty("file.separator")
1
2148
* def outputpath = db.outputpath()
1
2149
* eval db.ensureDirectory(outputpath)
1
2150
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
2151
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
2152
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
2153
Given path 'geonetwork/srv/dut/inspire'
1
2154
And param service = 'CSW'
0
2155
And param version = '2.0.2'
0
2156
And param request = 'GetRecordById'
0
2157
And param id = '3d01c1ca-973c-4652-baa5-39458bb9e181'
1
2158
And param elementsetname = 'full'
0
2159
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
2160
When method get
2038
2161
Then status 200
0
2162
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '3d01c1ca-973c-4652-baa5-39458bb9e181'
2
2163
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
2164
* def title = get response //citation/CI_Citation/title/CharacterString
1
2165
* def email = get response //electronicMailAddress/CharacterString
1
2166
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
2167
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
2168
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
2169
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
2170
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
2171
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
2172
* print organisationpath
0
06:40:00.190 [print] Beheer PDOK
2173
* print operateson
0
06:40:00.190 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=fe0e1e5f-512f-4bb1-bbf8-4028d3dfa24f#MD_DataIdentification
2174
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
2175
* eval db.writeln('"3d01c1ca-973c-4652-baa5-39458bb9e181","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
9
2176
* eval db.writeln('"3d01c1ca-973c-4652-baa5-39458bb9e181","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.65:18]94f241c2-43a2-42c3-8e9e-71976605aa0e
ms: 2051
>>
Background:
2177
* url 'http://nationaalgeoregister.nl/'
1
06:39:54.462 karate.env system property was:
2178
* def mystorage = Java.type('storage.DataStorage')
1
2179
* def db = new mystorage
1
2180
* def db = db.setfeature(karate.info.featureFileName)
4
2181
* def separator = java.lang.System.getProperty("file.separator")
1
2182
* def outputpath = db.outputpath()
1
2183
* eval db.ensureDirectory(outputpath)
1
2184
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
2185
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
2186
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
2187
Given path 'geonetwork/srv/dut/inspire'
1
2188
And param service = 'CSW'
0
2189
And param version = '2.0.2'
0
2190
And param request = 'GetRecordById'
0
2191
And param id = '94f241c2-43a2-42c3-8e9e-71976605aa0e'
0
2192
And param elementsetname = 'full'
0
2193
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
2194
When method get
2022
2195
Then status 200
0
2196
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '94f241c2-43a2-42c3-8e9e-71976605aa0e'
3
2197
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
2
2198
* def title = get response //citation/CI_Citation/title/CharacterString
2
2199
* def email = get response //electronicMailAddress/CharacterString
1
2200
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
2201
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
1
2202
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
1
2203
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
1
2204
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
4
2205
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
2206
* print organisationpath
3
06:40:00.192 [print] Beheer PDOK
2207
* print operateson
0
06:40:00.193 [print] [
"http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=29d5310f-dd0d-45ba-abad-b4ffc6b8785f#MD_DataIdentification",
"http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=af0c582f-9e6b-46e6-865a-fc3a2d5289b9#MD_DataIdentification",
"http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=81ff84ec-42a4-4481-840b-12713bbb5d38#MD_DataIdentification",
"http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=3eebf700-5abf-42e4-826c-03cfb497e366#MD_DataIdentification",
"http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=4b282988-cb91-4bbc-b147-f653014917cb#MD_DataIdentification",
"http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=0558a41c-b09a-47fa-b8db-9de6bfe4f494#MD_DataIdentification",
"http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=9d9f1738-aced-47c9-aaa0-c62474a2dcfb#MD_DataIdentification"
]
2208
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
2209
* eval db.writeln('"94f241c2-43a2-42c3-8e9e-71976605aa0e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
2210
* eval db.writeln('"94f241c2-43a2-42c3-8e9e-71976605aa0e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.66:18]a5437cb4-98ef-4c8e-a5ed-000e7a82b774
ms: 1985
>>
Background:
2211
* url 'http://nationaalgeoregister.nl/'
1
06:39:54.462 karate.env system property was:
2212
* def mystorage = Java.type('storage.DataStorage')
1
2213
* def db = new mystorage
1
2214
* def db = db.setfeature(karate.info.featureFileName)
4
2215
* def separator = java.lang.System.getProperty("file.separator")
1
2216
* def outputpath = db.outputpath()
1
2217
* eval db.ensureDirectory(outputpath)
1
2218
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
2219
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
2220
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
2221
Given path 'geonetwork/srv/dut/inspire'
1
2222
And param service = 'CSW'
0
2223
And param version = '2.0.2'
0
2224
And param request = 'GetRecordById'
0
2225
And param id = 'a5437cb4-98ef-4c8e-a5ed-000e7a82b774'
1
2226
And param elementsetname = 'full'
0
2227
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
2228
When method get
1960
2229
Then status 200
0
2230
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'a5437cb4-98ef-4c8e-a5ed-000e7a82b774'
2
2231
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
2232
* def title = get response //citation/CI_Citation/title/CharacterString
1
2233
* def email = get response //electronicMailAddress/CharacterString
1
2234
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
2235
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
1
2236
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
1
2237
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
1
2238
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
1
2239
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
2240
* print organisationpath
0
06:40:00.275 [print]
2241
* print operateson
0
06:40:00.275 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=1462bbce-ccd3-4362-83d8-4535ca8f44eb#MD_DataIdentification
2242
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
2243
* eval db.writeln('"a5437cb4-98ef-4c8e-a5ed-000e7a82b774","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
10
2244
* eval db.writeln('"a5437cb4-98ef-4c8e-a5ed-000e7a82b774","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
4
Scenario Outline: [1.67:18]91041d33-54f8-40f1-8965-a867ba00cab8
ms: 1944
>>
Background:
2245
* url 'http://nationaalgeoregister.nl/'
1
06:39:54.462 karate.env system property was:
2246
* def mystorage = Java.type('storage.DataStorage')
1
2247
* def db = new mystorage
1
2248
* def db = db.setfeature(karate.info.featureFileName)
4
2249
* def separator = java.lang.System.getProperty("file.separator")
1
2250
* def outputpath = db.outputpath()
1
2251
* eval db.ensureDirectory(outputpath)
1
2252
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
2253
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
2254
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
2255
Given path 'geonetwork/srv/dut/inspire'
1
2256
And param service = 'CSW'
0
2257
And param version = '2.0.2'
0
2258
And param request = 'GetRecordById'
0
2259
And param id = '91041d33-54f8-40f1-8965-a867ba00cab8'
0
2260
And param elementsetname = 'full'
0
2261
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
2262
When method get
1931
2263
Then status 200
0
2264
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '91041d33-54f8-40f1-8965-a867ba00cab8'
1
2265
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
2266
* def title = get response //citation/CI_Citation/title/CharacterString
0
2267
* def email = get response //electronicMailAddress/CharacterString
1
2268
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
2269
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
2270
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
2271
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
2272
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
2273
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
2274
* print organisationpath
0
06:40:00.325 [print] Ministerie van Defensie, Koninklijke Marine, Dienst der Hydrografie
2275
* print operateson
0
06:40:00.325 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/dut/xml.metadata.get?uuid=34e95842-4e4e-46de-9198-79e8cd4d30dc#MD_DataIdentification
2276
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
2277
* eval db.writeln('"91041d33-54f8-40f1-8965-a867ba00cab8","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
3
2278
* eval db.writeln('"91041d33-54f8-40f1-8965-a867ba00cab8","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
3
Scenario Outline: [1.68:18]3094a1c4-3dd6-4e8e-9929-4a63dd66992e
ms: 2004
>>
Background:
2279
* url 'http://nationaalgeoregister.nl/'
1
06:39:54.462 karate.env system property was:
2280
* def mystorage = Java.type('storage.DataStorage')
1
2281
* def db = new mystorage
1
2282
* def db = db.setfeature(karate.info.featureFileName)
4
2283
* def separator = java.lang.System.getProperty("file.separator")
1
2284
* def outputpath = db.outputpath()
1
2285
* eval db.ensureDirectory(outputpath)
1
2286
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
2287
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
2288
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
2289
Given path 'geonetwork/srv/dut/inspire'
0
2290
And param service = 'CSW'
0
2291
And param version = '2.0.2'
0
2292
And param request = 'GetRecordById'
0
2293
And param id = '3094a1c4-3dd6-4e8e-9929-4a63dd66992e'
0
2294
And param elementsetname = 'full'
0
2295
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
2296
When method get
1991
2297
Then status 200
0
2298
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '3094a1c4-3dd6-4e8e-9929-4a63dd66992e'
1
2299
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
2300
* def title = get response //citation/CI_Citation/title/CharacterString
0
2301
* def email = get response //electronicMailAddress/CharacterString
0
2302
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
2303
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
2304
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
2305
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
2306
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
2307
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
2308
* print organisationpath
0
06:40:00.426 [print] Interprovinciaal Overleg
2309
* print operateson
0
06:40:00.426 [print] [
"http://www.nationaalgeoregister.nl/geonetwork/srv/nl/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=8e986f37-74d7-4b6c-8026-87c960456423&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full#MD_DataIdentification",
"http://www.nationaalgeoregister.nl/geonetwork/srv/nl/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=afc450bd-65b3-4e59-b0fb-619869bf6ada&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full#MD_DataIdentification"
]
2310
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
2311
* eval db.writeln('"3094a1c4-3dd6-4e8e-9929-4a63dd66992e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
2312
* eval db.writeln('"3094a1c4-3dd6-4e8e-9929-4a63dd66992e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
5
Scenario Outline: [1.69:18]f1e26638-3b45-4dd5-9ad0-f7d3654700f1
ms: 2145
>>
Background:
2313
* url 'http://nationaalgeoregister.nl/'
1
06:39:54.462 karate.env system property was:
2314
* def mystorage = Java.type('storage.DataStorage')
1
2315
* def db = new mystorage
1
2316
* def db = db.setfeature(karate.info.featureFileName)
4
2317
* def separator = java.lang.System.getProperty("file.separator")
1
2318
* def outputpath = db.outputpath()
1
2319
* eval db.ensureDirectory(outputpath)
1
2320
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
2321
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
2322
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
2323
Given path 'geonetwork/srv/dut/inspire'
0
2324
And param service = 'CSW'
0
2325
And param version = '2.0.2'
0
2326
And param request = 'GetRecordById'
0
2327
And param id = 'f1e26638-3b45-4dd5-9ad0-f7d3654700f1'
0
2328
And param elementsetname = 'full'
0
2329
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
2330
When method get
2127
2331
Then status 200
0
2332
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'f1e26638-3b45-4dd5-9ad0-f7d3654700f1'
3
2333
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
2
2334
* def title = get response //citation/CI_Citation/title/CharacterString
1
2335
* def email = get response //electronicMailAddress/CharacterString
1
2336
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
2337
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
1
2338
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
1
2339
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
1
2340
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
1
2341
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
2342
* print organisationpath
0
06:40:00.581 [print] Beheer PDOK
2343
* print operateson
0
06:40:00.581 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=f605a24f-60cd-4c40-94c8-2186aba3ddd0#MD_DataIdentification
2344
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
2345
* eval db.writeln('"f1e26638-3b45-4dd5-9ad0-f7d3654700f1","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
2346
* eval db.writeln('"f1e26638-3b45-4dd5-9ad0-f7d3654700f1","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.70:18]80e015fa-f0e1-487e-a7e8-84a5ba7c4e7a
ms: 2151
>>
Background:
2347
* url 'http://nationaalgeoregister.nl/'
1
06:39:54.462 karate.env system property was:
2348
* def mystorage = Java.type('storage.DataStorage')
1
2349
* def db = new mystorage
1
2350
* def db = db.setfeature(karate.info.featureFileName)
4
2351
* def separator = java.lang.System.getProperty("file.separator")
1
2352
* def outputpath = db.outputpath()
1
2353
* eval db.ensureDirectory(outputpath)
1
2354
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
2355
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
2356
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
2357
Given path 'geonetwork/srv/dut/inspire'
0
2358
And param service = 'CSW'
0
2359
And param version = '2.0.2'
0
2360
And param request = 'GetRecordById'
0
2361
And param id = '80e015fa-f0e1-487e-a7e8-84a5ba7c4e7a'
0
2362
And param elementsetname = 'full'
0
2363
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
2364
When method get
2139
2365
Then status 200
0
2366
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '80e015fa-f0e1-487e-a7e8-84a5ba7c4e7a'
2
2367
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
2368
* def title = get response //citation/CI_Citation/title/CharacterString
0
2369
* def email = get response //electronicMailAddress/CharacterString
0
2370
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
2371
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
2372
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
2373
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
2374
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
2375
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
2376
* print organisationpath
0
06:40:00.590 [print] Beheer PDOK
2377
* print operateson
0
06:40:00.591 [print] https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=83dab947-387b-49df-8ad2-32bb10d46d38#MD_DataIdentification
2378
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
2379
* eval db.writeln('"80e015fa-f0e1-487e-a7e8-84a5ba7c4e7a","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
2380
* eval db.writeln('"80e015fa-f0e1-487e-a7e8-84a5ba7c4e7a","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.71:18]d796fd8d-b1e0-465c-a55b-1e9fe885fc3d
ms: 1815
>>
Background:
2381
* url 'http://nationaalgeoregister.nl/'
1
06:39:54.462 karate.env system property was:
2382
* def mystorage = Java.type('storage.DataStorage')
1
2383
* def db = new mystorage
1
2384
* def db = db.setfeature(karate.info.featureFileName)
4
2385
* def separator = java.lang.System.getProperty("file.separator")
1
2386
* def outputpath = db.outputpath()
1
2387
* eval db.ensureDirectory(outputpath)
1
2388
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
2389
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
2390
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
2391
Given path 'geonetwork/srv/dut/inspire'
0
2392
And param service = 'CSW'
0
2393
And param version = '2.0.2'
0
2394
And param request = 'GetRecordById'
0
2395
And param id = 'd796fd8d-b1e0-465c-a55b-1e9fe885fc3d'
0
2396
And param elementsetname = 'full'
0
2397
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
2398
When method get
1805
2399
Then status 200
0
2400
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'd796fd8d-b1e0-465c-a55b-1e9fe885fc3d'
1
2401
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
2402
* def title = get response //citation/CI_Citation/title/CharacterString
0
2403
* def email = get response //electronicMailAddress/CharacterString
0
2404
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
2405
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
2406
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
2407
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
2408
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
2409
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
2410
* print organisationpath
0
06:40:00.609 [print] TNO Geologische Dienst Nederland
2411
* print operateson
0
06:40:00.609 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&ID=f99e915a-75e5-4c36-97f2-61eff692d85b&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full#MD_DataIdentification
2412
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
2413
* eval db.writeln('"d796fd8d-b1e0-465c-a55b-1e9fe885fc3d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
2414
* eval db.writeln('"d796fd8d-b1e0-465c-a55b-1e9fe885fc3d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.72:18]e9ba7d7f-6cd1-4271-bce4-56432924b338
ms: 1903
>>
Background:
2415
* url 'http://nationaalgeoregister.nl/'
1
06:39:54.462 karate.env system property was:
2416
* def mystorage = Java.type('storage.DataStorage')
1
2417
* def db = new mystorage
1
2418
* def db = db.setfeature(karate.info.featureFileName)
4
2419
* def separator = java.lang.System.getProperty("file.separator")
1
2420
* def outputpath = db.outputpath()
1
2421
* eval db.ensureDirectory(outputpath)
1
2422
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
2423
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
2424
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
2425
Given path 'geonetwork/srv/dut/inspire'
1
2426
And param service = 'CSW'
0
2427
And param version = '2.0.2'
0
2428
And param request = 'GetRecordById'
0
2429
And param id = 'e9ba7d7f-6cd1-4271-bce4-56432924b338'
1
2430
And param elementsetname = 'full'
0
2431
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
2432
When method get
1891
2433
Then status 200
0
2434
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'e9ba7d7f-6cd1-4271-bce4-56432924b338'
1
2435
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
2436
* def title = get response //citation/CI_Citation/title/CharacterString
1
2437
* def email = get response //electronicMailAddress/CharacterString
1
2438
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
2439
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
1
2440
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
1
2441
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
1
2442
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
2443
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
2444
* print organisationpath
0
06:40:00.815 [print] Beheer PDOK
2445
* print operateson
0
06:40:00.815 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=a04afee4-47d5-45b7-b7a0-a6f86106af11#MD_DataIdentification
2446
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
2447
* eval db.writeln('"e9ba7d7f-6cd1-4271-bce4-56432924b338","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
2448
* eval db.writeln('"e9ba7d7f-6cd1-4271-bce4-56432924b338","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.73:18]972edbaa-f860-4c48-b449-4f238a263472
ms: 1801
>>
Background:
2449
* url 'http://nationaalgeoregister.nl/'
1
06:39:54.462 karate.env system property was:
2450
* def mystorage = Java.type('storage.DataStorage')
1
2451
* def db = new mystorage
1
2452
* def db = db.setfeature(karate.info.featureFileName)
4
2453
* def separator = java.lang.System.getProperty("file.separator")
1
2454
* def outputpath = db.outputpath()
1
2455
* eval db.ensureDirectory(outputpath)
1
2456
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
2457
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
2458
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
2459
Given path 'geonetwork/srv/dut/inspire'
1
2460
And param service = 'CSW'
0
2461
And param version = '2.0.2'
0
2462
And param request = 'GetRecordById'
0
2463
And param id = '972edbaa-f860-4c48-b449-4f238a263472'
1
2464
And param elementsetname = 'full'
0
2465
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
2466
When method get
1789
2467
Then status 200
0
2468
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '972edbaa-f860-4c48-b449-4f238a263472'
2
2469
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
2470
* def title = get response //citation/CI_Citation/title/CharacterString
1
2471
* def email = get response //electronicMailAddress/CharacterString
0
2472
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
2473
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
2474
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
2475
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
2476
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
2477
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
2478
* print organisationpath
0
06:40:00.768 [print] Beheer PDOK
2479
* print operateson
0
06:40:00.768 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=d6b85d84-cdb9-4a6e-b799-cf8826e22a94#MD_DataIdentification
2480
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
2481
* eval db.writeln('"972edbaa-f860-4c48-b449-4f238a263472","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
2482
* eval db.writeln('"972edbaa-f860-4c48-b449-4f238a263472","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.74:18]03c48a93-1e31-4c69-92c6-9a7efecf67a9
ms: 1548
>>
Background:
2483
* url 'http://nationaalgeoregister.nl/'
1
06:39:54.462 karate.env system property was:
2484
* def mystorage = Java.type('storage.DataStorage')
1
2485
* def db = new mystorage
1
2486
* def db = db.setfeature(karate.info.featureFileName)
4
2487
* def separator = java.lang.System.getProperty("file.separator")
1
2488
* def outputpath = db.outputpath()
1
2489
* eval db.ensureDirectory(outputpath)
1
2490
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
2491
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
2492
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
2493
Given path 'geonetwork/srv/dut/inspire'
3
2494
And param service = 'CSW'
0
2495
And param version = '2.0.2'
0
2496
And param request = 'GetRecordById'
0
2497
And param id = '03c48a93-1e31-4c69-92c6-9a7efecf67a9'
0
2498
And param elementsetname = 'full'
0
2499
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
2500
When method get
1537
2501
Then status 200
0
2502
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '03c48a93-1e31-4c69-92c6-9a7efecf67a9'
1
2503
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
2504
* def title = get response //citation/CI_Citation/title/CharacterString
0
2505
* def email = get response //electronicMailAddress/CharacterString
0
2506
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
2507
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
2508
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
2509
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
2510
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
2511
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
2512
* print organisationpath
0
06:40:00.632 [print] Beheer PDOK
2513
* print operateson
0
06:40:00.632 [print] [
"https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=3229e4d7-4bcd-4b94-819d-8e62de69ce2e",
"https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=c4bed072-0fda-47b8-96fa-457a938b88fc",
"https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=c4b137b8-2317-42c2-aced-204c4216d68d"
]
2514
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
2515
* eval db.writeln('"03c48a93-1e31-4c69-92c6-9a7efecf67a9","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
2516
* eval db.writeln('"03c48a93-1e31-4c69-92c6-9a7efecf67a9","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.75:18]c6fa88ab-e440-414b-a773-793c4ce6d8df
ms: 1949
>>
Background:
2517
* url 'http://nationaalgeoregister.nl/'
1
06:39:54.462 karate.env system property was:
2518
* def mystorage = Java.type('storage.DataStorage')
1
2519
* def db = new mystorage
1
2520
* def db = db.setfeature(karate.info.featureFileName)
4
2521
* def separator = java.lang.System.getProperty("file.separator")
1
2522
* def outputpath = db.outputpath()
1
2523
* eval db.ensureDirectory(outputpath)
1
2524
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
2525
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
2526
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
2527
Given path 'geonetwork/srv/dut/inspire'
3
2528
And param service = 'CSW'
0
2529
And param version = '2.0.2'
0
2530
And param request = 'GetRecordById'
0
2531
And param id = 'c6fa88ab-e440-414b-a773-793c4ce6d8df'
1
2532
And param elementsetname = 'full'
0
2533
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
2534
When method get
1933
2535
Then status 200
0
2536
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'c6fa88ab-e440-414b-a773-793c4ce6d8df'
2
2537
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
2538
* def title = get response //citation/CI_Citation/title/CharacterString
1
2539
* def email = get response //electronicMailAddress/CharacterString
1
2540
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
2541
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
2542
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
2543
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
2544
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
2545
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
2546
* print organisationpath
0
06:40:01.032 [print] Beheer PDOK
2547
* print operateson
0
06:40:01.032 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=c5c4a6d6-b850-473c-8ab5-af9c2c550809#MD_DataIdentification
2548
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
2549
* eval db.writeln('"c6fa88ab-e440-414b-a773-793c4ce6d8df","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
2550
* eval db.writeln('"c6fa88ab-e440-414b-a773-793c4ce6d8df","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
4
Scenario Outline: [1.76:18]488c1e6d-363e-4476-b2ff-17756ac9b35f
ms: 1878
>>
Background:
2551
* url 'http://nationaalgeoregister.nl/'
1
06:39:54.462 karate.env system property was:
2552
* def mystorage = Java.type('storage.DataStorage')
1
2553
* def db = new mystorage
1
2554
* def db = db.setfeature(karate.info.featureFileName)
4
2555
* def separator = java.lang.System.getProperty("file.separator")
1
2556
* def outputpath = db.outputpath()
1
2557
* eval db.ensureDirectory(outputpath)
1
2558
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
2559
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
2560
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
2561
Given path 'geonetwork/srv/dut/inspire'
2
2562
And param service = 'CSW'
0
2563
And param version = '2.0.2'
0
2564
And param request = 'GetRecordById'
0
2565
And param id = '488c1e6d-363e-4476-b2ff-17756ac9b35f'
0
2566
And param elementsetname = 'full'
0
2567
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
2568
When method get
1855
2569
Then status 200
0
2570
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '488c1e6d-363e-4476-b2ff-17756ac9b35f'
2
2571
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
2572
* def title = get response //citation/CI_Citation/title/CharacterString
1
2573
* def email = get response //electronicMailAddress/CharacterString
1
2574
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
2575
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
1
2576
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
1
2577
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
1
2578
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
1
2579
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
2580
* print organisationpath
0
06:40:00.956 [print] Beheer PDOK
2581
* print operateson
4
06:40:00.961 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=effe1ab0-073d-437c-af13-df5c5e07d6cd#MD_DataIdentification
2582
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
2583
* eval db.writeln('"488c1e6d-363e-4476-b2ff-17756ac9b35f","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
2584
* eval db.writeln('"488c1e6d-363e-4476-b2ff-17756ac9b35f","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
3
Scenario Outline: [1.77:18]b7880739-a701-4cc0-bb32-2bba61fa8924
ms: 1773
>>
Background:
2585
* url 'http://nationaalgeoregister.nl/'
1
06:39:54.462 karate.env system property was:
2586
* def mystorage = Java.type('storage.DataStorage')
1
2587
* def db = new mystorage
1
2588
* def db = db.setfeature(karate.info.featureFileName)
4
2589
* def separator = java.lang.System.getProperty("file.separator")
1
2590
* def outputpath = db.outputpath()
1
2591
* eval db.ensureDirectory(outputpath)
1
2592
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
2593
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
2594
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
2595
Given path 'geonetwork/srv/dut/inspire'
1
2596
And param service = 'CSW'
0
2597
And param version = '2.0.2'
0
2598
And param request = 'GetRecordById'
0
2599
And param id = 'b7880739-a701-4cc0-bb32-2bba61fa8924'
0
2600
And param elementsetname = 'full'
0
2601
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
2602
When method get
1762
2603
Then status 200
0
2604
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'b7880739-a701-4cc0-bb32-2bba61fa8924'
1
2605
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
2606
* def title = get response //citation/CI_Citation/title/CharacterString
0
2607
* def email = get response //electronicMailAddress/CharacterString
0
2608
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
2609
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
2610
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
2611
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
2612
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
2613
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
2614
* print organisationpath
0
06:40:01.045 [print] TNO Geologische Dienst Nederland
2615
* print operateson
0
06:40:01.045 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&ID=11a292bd-9022-4a9f-b1bf-02f5c89ad74a&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full#MD_DataIdentification
2616
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
2617
* eval db.writeln('"b7880739-a701-4cc0-bb32-2bba61fa8924","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
2618
* eval db.writeln('"b7880739-a701-4cc0-bb32-2bba61fa8924","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
3
Scenario Outline: [1.78:18]22bedc12-e9cb-4419-8e51-dfb375d46d01
ms: 1843
>>
Background:
2619
* url 'http://nationaalgeoregister.nl/'
1
06:39:54.462 karate.env system property was:
2620
* def mystorage = Java.type('storage.DataStorage')
1
2621
* def db = new mystorage
1
2622
* def db = db.setfeature(karate.info.featureFileName)
4
2623
* def separator = java.lang.System.getProperty("file.separator")
1
2624
* def outputpath = db.outputpath()
1
2625
* eval db.ensureDirectory(outputpath)
1
2626
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
2627
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
2628
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
2629
Given path 'geonetwork/srv/dut/inspire'
0
2630
And param service = 'CSW'
0
2631
And param version = '2.0.2'
0
2632
And param request = 'GetRecordById'
0
2633
And param id = '22bedc12-e9cb-4419-8e51-dfb375d46d01'
0
2634
And param elementsetname = 'full'
0
2635
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
2636
When method get
1831
2637
Then status 200
0
2638
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '22bedc12-e9cb-4419-8e51-dfb375d46d01'
2
2639
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
2640
* def title = get response //citation/CI_Citation/title/CharacterString
1
2641
* def email = get response //electronicMailAddress/CharacterString
1
2642
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
2643
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
1
2644
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
2645
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
2646
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
2647
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
2648
* print organisationpath
0
06:40:01.121 [print] Interprovinciaal Overleg
2649
* print operateson
0
06:40:01.121 [print] [
"http://www.nationaalgeoregister.nl/geonetwork/srv/nl/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=88f76a94-ee4d-4e0c-9fde-91b692403e39&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full#MD_DataIdentification",
"http://www.nationaalgeoregister.nl/geonetwork/srv/nl/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=08af1182-91fe-4d21-aa21-ee002953c3cc&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full#MD_DataIdentification",
"http://www.nationaalgeoregister.nl/geonetwork/srv/nl/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=d91126e0-e37b-11e4-b571-0800200c9a66&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full#MD_DataIdentification",
"http://www.nationaalgeoregister.nl/geonetwork/srv/nl/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=667ebfb0-e37c-11e4-b571-0800200c9a66&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full#MD_DataIdentification"
]
2650
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
2651
* eval db.writeln('"22bedc12-e9cb-4419-8e51-dfb375d46d01","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
2652
* eval db.writeln('"22bedc12-e9cb-4419-8e51-dfb375d46d01","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.79:18]e75b66ae-21b1-4303-aeb3-787608707b23
ms: 1884
>>
Background:
2653
* url 'http://nationaalgeoregister.nl/'
1
06:39:54.462 karate.env system property was:
2654
* def mystorage = Java.type('storage.DataStorage')
1
2655
* def db = new mystorage
1
2656
* def db = db.setfeature(karate.info.featureFileName)
4
2657
* def separator = java.lang.System.getProperty("file.separator")
1
2658
* def outputpath = db.outputpath()
1
2659
* eval db.ensureDirectory(outputpath)
1
2660
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
2661
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
2662
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
2663
Given path 'geonetwork/srv/dut/inspire'
0
2664
And param service = 'CSW'
0
2665
And param version = '2.0.2'
0
2666
And param request = 'GetRecordById'
0
2667
And param id = 'e75b66ae-21b1-4303-aeb3-787608707b23'
0
2668
And param elementsetname = 'full'
0
2669
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
2670
When method get
1873
2671
Then status 200
0
2672
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'e75b66ae-21b1-4303-aeb3-787608707b23'
1
2673
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
2674
* def title = get response //citation/CI_Citation/title/CharacterString
1
2675
* def email = get response //electronicMailAddress/CharacterString
0
2676
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
2677
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
2678
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
2679
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
2680
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
2681
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
2682
* print organisationpath
0
06:40:01.287 [print] Beheer PDOK
2683
* print operateson
0
06:40:01.287 [print] https://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=6318009c-7b11-4ab9-9929-735584dfb692#MD_DataIdentification
2684
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
2685
* eval db.writeln('"e75b66ae-21b1-4303-aeb3-787608707b23","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
2686
* eval db.writeln('"e75b66ae-21b1-4303-aeb3-787608707b23","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.80:18]7b4a0b26-5885-45cd-a99d-27887cff68e5
ms: 1709
>>
Background:
2687
* url 'http://nationaalgeoregister.nl/'
1
06:39:54.462 karate.env system property was:
2688
* def mystorage = Java.type('storage.DataStorage')
1
2689
* def db = new mystorage
1
2690
* def db = db.setfeature(karate.info.featureFileName)
4
2691
* def separator = java.lang.System.getProperty("file.separator")
1
2692
* def outputpath = db.outputpath()
1
2693
* eval db.ensureDirectory(outputpath)
1
2694
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
2695
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
2696
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
2697
Given path 'geonetwork/srv/dut/inspire'
1
2698
And param service = 'CSW'
0
2699
And param version = '2.0.2'
0
2700
And param request = 'GetRecordById'
0
2701
And param id = '7b4a0b26-5885-45cd-a99d-27887cff68e5'
1
2702
And param elementsetname = 'full'
0
2703
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
2704
When method get
1695
2705
Then status 200
0
2706
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '7b4a0b26-5885-45cd-a99d-27887cff68e5'
1
2707
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
2708
* def title = get response //citation/CI_Citation/title/CharacterString
0
2709
* def email = get response //electronicMailAddress/CharacterString
0
2710
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
2711
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
2712
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
2713
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
2714
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
2715
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
2716
* print organisationpath
0
06:40:01.346 [print] TNO Geologische Dienst Nederland
2717
* print operateson
0
06:40:01.346 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&ID=a7fb2234-f7b4-4a03-b282-f10947f42fb1&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full#MD_DataIdentification
2718
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
2719
* eval db.writeln('"7b4a0b26-5885-45cd-a99d-27887cff68e5","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
4
2720
* eval db.writeln('"7b4a0b26-5885-45cd-a99d-27887cff68e5","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
4
Scenario Outline: [1.81:18]fff9d7cf-9929-4dde-98b8-06ceda7e5610
ms: 1692
>>
Background:
2721
* url 'http://nationaalgeoregister.nl/'
1
06:39:54.462 karate.env system property was:
2722
* def mystorage = Java.type('storage.DataStorage')
1
2723
* def db = new mystorage
1
2724
* def db = db.setfeature(karate.info.featureFileName)
4
2725
* def separator = java.lang.System.getProperty("file.separator")
1
2726
* def outputpath = db.outputpath()
1
2727
* eval db.ensureDirectory(outputpath)
1
2728
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
2729
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
2730
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
2731
Given path 'geonetwork/srv/dut/inspire'
2
2732
And param service = 'CSW'
0
2733
And param version = '2.0.2'
0
2734
And param request = 'GetRecordById'
0
2735
And param id = 'fff9d7cf-9929-4dde-98b8-06ceda7e5610'
1
2736
And param elementsetname = 'full'
0
2737
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
2738
When method get
1677
2739
Then status 200
0
2740
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'fff9d7cf-9929-4dde-98b8-06ceda7e5610'
1
2741
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
2742
* def title = get response //citation/CI_Citation/title/CharacterString
0
2743
* def email = get response //electronicMailAddress/CharacterString
0
2744
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
2745
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
2746
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
2747
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
2748
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
1
2749
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
2750
* print organisationpath
0
06:40:01.382 [print] Beheer PDOK
2751
* print operateson
0
06:40:01.383 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=7939fd42-cf88-42c5-ab3b-232cf232a3ac#MD_DataIdentification
2752
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
2753
* eval db.writeln('"fff9d7cf-9929-4dde-98b8-06ceda7e5610","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
2754
* eval db.writeln('"fff9d7cf-9929-4dde-98b8-06ceda7e5610","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
4
Scenario Outline: [1.82:18]a84f9836-9111-4e45-a311-3dab39019e15
ms: 1697
>>
Background:
2755
* url 'http://nationaalgeoregister.nl/'
1
06:39:54.462 karate.env system property was:
2756
* def mystorage = Java.type('storage.DataStorage')
1
2757
* def db = new mystorage
1
2758
* def db = db.setfeature(karate.info.featureFileName)
4
2759
* def separator = java.lang.System.getProperty("file.separator")
1
2760
* def outputpath = db.outputpath()
1
2761
* eval db.ensureDirectory(outputpath)
1
2762
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
2763
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
2764
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
2765
Given path 'geonetwork/srv/dut/inspire'
0
2766
And param service = 'CSW'
0
2767
And param version = '2.0.2'
0
2768
And param request = 'GetRecordById'
0
2769
And param id = 'a84f9836-9111-4e45-a311-3dab39019e15'
0
2770
And param elementsetname = 'full'
9
2771
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
2772
When method get
1675
2773
Then status 200
0
2774
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'a84f9836-9111-4e45-a311-3dab39019e15'
1
2775
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
2776
* def title = get response //citation/CI_Citation/title/CharacterString
1
2777
* def email = get response //electronicMailAddress/CharacterString
1
2778
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
2779
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
2780
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
2781
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
2782
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
2783
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
2784
* print organisationpath
0
06:40:01.486 [print] Beheer PDOK
2785
* print operateson
0
06:40:01.487 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=eu-2c7040b-c448-451b-bf15-f2416ecaadd1#MD_DataIdentification
2786
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
2787
* eval db.writeln('"a84f9836-9111-4e45-a311-3dab39019e15","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
2788
* eval db.writeln('"a84f9836-9111-4e45-a311-3dab39019e15","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.83:18]641a0f48-872b-4470-b130-e3d28e6bfdfb
ms: 1652
>>
Background:
2789
* url 'http://nationaalgeoregister.nl/'
1
06:39:54.462 karate.env system property was:
2790
* def mystorage = Java.type('storage.DataStorage')
1
2791
* def db = new mystorage
1
2792
* def db = db.setfeature(karate.info.featureFileName)
4
2793
* def separator = java.lang.System.getProperty("file.separator")
1
2794
* def outputpath = db.outputpath()
1
2795
* eval db.ensureDirectory(outputpath)
1
2796
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
2797
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
2798
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
2799
Given path 'geonetwork/srv/dut/inspire'
0
2800
And param service = 'CSW'
0
2801
And param version = '2.0.2'
0
2802
And param request = 'GetRecordById'
0
2803
And param id = '641a0f48-872b-4470-b130-e3d28e6bfdfb'
1
2804
And param elementsetname = 'full'
0
2805
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
2806
When method get
1641
2807
Then status 200
0
2808
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '641a0f48-872b-4470-b130-e3d28e6bfdfb'
1
2809
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
2810
* def title = get response //citation/CI_Citation/title/CharacterString
1
2811
* def email = get response //electronicMailAddress/CharacterString
0
2812
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
2813
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
2814
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
2815
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
2816
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
2817
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
2818
* print organisationpath
0
06:40:01.446 [print]
2819
* print operateson
0
06:40:01.446 [print] [
"https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=krm-a905-9d8e-4758-83fa-28b057f185e3#MD_DataIdentification",
"https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=krm-a905-9d8e-4758-83fa-28b057f185e4#MD_DataIdentification"
]
2820
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
2821
* eval db.writeln('"641a0f48-872b-4470-b130-e3d28e6bfdfb","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
2822
* eval db.writeln('"641a0f48-872b-4470-b130-e3d28e6bfdfb","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.84:18]0898d4a9-8fe6-46e9-8855-1242d8028970
ms: 1776
>>
Background:
2823
* url 'http://nationaalgeoregister.nl/'
1
06:39:54.462 karate.env system property was:
2824
* def mystorage = Java.type('storage.DataStorage')
1
2825
* def db = new mystorage
1
2826
* def db = db.setfeature(karate.info.featureFileName)
4
2827
* def separator = java.lang.System.getProperty("file.separator")
1
2828
* def outputpath = db.outputpath()
1
2829
* eval db.ensureDirectory(outputpath)
1
2830
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
2831
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
2832
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
2833
Given path 'geonetwork/srv/dut/inspire'
1
2834
And param service = 'CSW'
0
2835
And param version = '2.0.2'
0
2836
And param request = 'GetRecordById'
0
2837
And param id = '0898d4a9-8fe6-46e9-8855-1242d8028970'
0
2838
And param elementsetname = 'full'
0
2839
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
2840
When method get
1730
2841
Then status 200
0
2842
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '0898d4a9-8fe6-46e9-8855-1242d8028970'
1
2843
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
2844
* def title = get response //citation/CI_Citation/title/CharacterString
0
2845
* def email = get response //electronicMailAddress/CharacterString
0
2846
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
2847
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
2848
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
2849
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
1
2850
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
2851
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
2852
* print organisationpath
0
06:40:01.590 [print]
2853
* print operateson
0
06:40:01.590 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=ror-9d8e-4758-83fx-28b057f185f1#MD_DataIdentification
2854
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
20
2855
* eval db.writeln('"0898d4a9-8fe6-46e9-8855-1242d8028970","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
2856
* eval db.writeln('"0898d4a9-8fe6-46e9-8855-1242d8028970","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
18
Scenario Outline: [1.85:18]54122631-d343-40be-9c28-e44626b37a0e
ms: 1685
>>
Background:
2857
* url 'http://nationaalgeoregister.nl/'
1
06:39:54.462 karate.env system property was:
2858
* def mystorage = Java.type('storage.DataStorage')
1
2859
* def db = new mystorage
1
2860
* def db = db.setfeature(karate.info.featureFileName)
4
2861
* def separator = java.lang.System.getProperty("file.separator")
1
2862
* def outputpath = db.outputpath()
1
2863
* eval db.ensureDirectory(outputpath)
1
2864
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
2865
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
2866
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
2867
Given path 'geonetwork/srv/dut/inspire'
0
2868
And param service = 'CSW'
0
2869
And param version = '2.0.2'
0
2870
And param request = 'GetRecordById'
0
2871
And param id = '54122631-d343-40be-9c28-e44626b37a0e'
0
2872
And param elementsetname = 'full'
0
2873
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
2874
When method get
1643
2875
Then status 200
0
2876
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '54122631-d343-40be-9c28-e44626b37a0e'
12
2877
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
2878
* def title = get response //citation/CI_Citation/title/CharacterString
0
2879
* def email = get response //electronicMailAddress/CharacterString
0
2880
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
2881
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
2882
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
1
2883
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
2884
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
2885
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
2886
* print organisationpath
0
06:40:01.606 [print]
2887
* print operateson
0
06:40:01.606 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&ID=12bb57cd-73e0-41ba-a1e9-6d986b9109d3&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full#MD_DataIdentification
2888
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
2889
* eval db.writeln('"54122631-d343-40be-9c28-e44626b37a0e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
22
2890
* eval db.writeln('"54122631-d343-40be-9c28-e44626b37a0e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.86:18]037e55bd-a1dc-4fde-adfe-4610d3a3d5cb
ms: 1770
>>
Background:
2891
* url 'http://nationaalgeoregister.nl/'
1
06:39:54.462 karate.env system property was:
2892
* def mystorage = Java.type('storage.DataStorage')
1
2893
* def db = new mystorage
1
2894
* def db = db.setfeature(karate.info.featureFileName)
4
2895
* def separator = java.lang.System.getProperty("file.separator")
1
2896
* def outputpath = db.outputpath()
1
2897
* eval db.ensureDirectory(outputpath)
1
2898
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
2899
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
2900
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
2901
Given path 'geonetwork/srv/dut/inspire'
0
2902
And param service = 'CSW'
0
2903
And param version = '2.0.2'
0
2904
And param request = 'GetRecordById'
0
2905
And param id = '037e55bd-a1dc-4fde-adfe-4610d3a3d5cb'
0
2906
And param elementsetname = 'full'
0
2907
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
2908
When method get
1758
2909
Then status 200
0
2910
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '037e55bd-a1dc-4fde-adfe-4610d3a3d5cb'
2
2911
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
2912
* def title = get response //citation/CI_Citation/title/CharacterString
1
2913
* def email = get response //electronicMailAddress/CharacterString
1
2914
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
2915
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
2916
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
2917
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
2918
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
2919
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
2920
* print organisationpath
0
06:40:01.768 [print]
2921
* print operateson
0
06:40:01.768 [print] https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=76541ebb-a554-4540-a017-399d4bb4a860#MD_DataIdentification
2922
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
2923
* eval db.writeln('"037e55bd-a1dc-4fde-adfe-4610d3a3d5cb","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
2924
* eval db.writeln('"037e55bd-a1dc-4fde-adfe-4610d3a3d5cb","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.87:18]e222648d-d19e-4a99-a67d-2af1c9aabd75
ms: 1708
>>
Background:
2925
* url 'http://nationaalgeoregister.nl/'
1
06:39:54.462 karate.env system property was:
2926
* def mystorage = Java.type('storage.DataStorage')
1
2927
* def db = new mystorage
1
2928
* def db = db.setfeature(karate.info.featureFileName)
4
2929
* def separator = java.lang.System.getProperty("file.separator")
1
2930
* def outputpath = db.outputpath()
1
2931
* eval db.ensureDirectory(outputpath)
1
2932
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
2933
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
2934
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
2935
Given path 'geonetwork/srv/dut/inspire'
0
2936
And param service = 'CSW'
0
2937
And param version = '2.0.2'
0
2938
And param request = 'GetRecordById'
0
2939
And param id = 'e222648d-d19e-4a99-a67d-2af1c9aabd75'
0
2940
And param elementsetname = 'full'
0
2941
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
2942
When method get
1694
2943
Then status 200
0
2944
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'e222648d-d19e-4a99-a67d-2af1c9aabd75'
2
2945
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
2946
* def title = get response //citation/CI_Citation/title/CharacterString
1
2947
* def email = get response //electronicMailAddress/CharacterString
1
2948
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
2949
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
1
2950
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
1
2951
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
2952
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
2953
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
2954
* print organisationpath
0
06:40:01.829 [print]
2955
* print operateson
0
06:40:01.829 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=e80ad426-1392-4349-9f80-14dae5f1bf57#MD_DataIdentification
2956
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
2957
* eval db.writeln('"e222648d-d19e-4a99-a67d-2af1c9aabd75","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
2958
* eval db.writeln('"e222648d-d19e-4a99-a67d-2af1c9aabd75","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.88:18]7c664a91-1aa2-4923-9d17-6a43e4075f47
ms: 1674
>>
Background:
2959
* url 'http://nationaalgeoregister.nl/'
1
06:39:54.462 karate.env system property was:
2960
* def mystorage = Java.type('storage.DataStorage')
1
2961
* def db = new mystorage
1
2962
* def db = db.setfeature(karate.info.featureFileName)
4
2963
* def separator = java.lang.System.getProperty("file.separator")
1
2964
* def outputpath = db.outputpath()
1
2965
* eval db.ensureDirectory(outputpath)
1
2966
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
2967
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
2968
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
2969
Given path 'geonetwork/srv/dut/inspire'
0
2970
And param service = 'CSW'
0
2971
And param version = '2.0.2'
0
2972
And param request = 'GetRecordById'
0
2973
And param id = '7c664a91-1aa2-4923-9d17-6a43e4075f47'
0
2974
And param elementsetname = 'full'
0
2975
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
2976
When method get
1664
2977
Then status 200
0
2978
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '7c664a91-1aa2-4923-9d17-6a43e4075f47'
1
2979
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
2980
* def title = get response //citation/CI_Citation/title/CharacterString
0
2981
* def email = get response //electronicMailAddress/CharacterString
0
2982
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
2983
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
2984
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
2985
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
2986
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
2987
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
2988
* print organisationpath
0
06:40:01.869 [print] Ministerie van Defensie, Koninklijke Marine, Dienst der Hydrografie
2989
* print operateson
0
06:40:01.869 [print] https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=bb11be63-bd38-4632-bf54-df44c423a529#MD_DataIdentification
2990
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
2991
* eval db.writeln('"7c664a91-1aa2-4923-9d17-6a43e4075f47","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
2992
* eval db.writeln('"7c664a91-1aa2-4923-9d17-6a43e4075f47","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.89:18]9ad3f0c0-9e2c-4d44-a467-b57920aa512f
ms: 1690
>>
Background:
2993
* url 'http://nationaalgeoregister.nl/'
1
06:39:54.462 karate.env system property was:
2994
* def mystorage = Java.type('storage.DataStorage')
1
2995
* def db = new mystorage
1
2996
* def db = db.setfeature(karate.info.featureFileName)
4
2997
* def separator = java.lang.System.getProperty("file.separator")
1
2998
* def outputpath = db.outputpath()
1
2999
* eval db.ensureDirectory(outputpath)
1
3000
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
3001
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
3002
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
3003
Given path 'geonetwork/srv/dut/inspire'
0
3004
And param service = 'CSW'
0
3005
And param version = '2.0.2'
0
3006
And param request = 'GetRecordById'
0
3007
And param id = '9ad3f0c0-9e2c-4d44-a467-b57920aa512f'
0
3008
And param elementsetname = 'full'
0
3009
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
3010
When method get
1680
3011
Then status 200
0
3012
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '9ad3f0c0-9e2c-4d44-a467-b57920aa512f'
2
3013
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
3014
* def title = get response //citation/CI_Citation/title/CharacterString
0
3015
* def email = get response //electronicMailAddress/CharacterString
0
3016
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
3017
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
3018
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
3019
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
3020
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
3021
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
3022
* print organisationpath
0
06:40:01.888 [print]
3023
* print operateson
0
06:40:01.889 [print] https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=ea938ed4-c9c0-4324-824f-5926669ba0e0#MD_DataIdentification
3024
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
3025
* eval db.writeln('"9ad3f0c0-9e2c-4d44-a467-b57920aa512f","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
3026
* eval db.writeln('"9ad3f0c0-9e2c-4d44-a467-b57920aa512f","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.90:18]93c8762c-4cbb-42b0-9b02-89ef902e8880
ms: 1668
>>
Background:
3027
* url 'http://nationaalgeoregister.nl/'
1
06:39:54.462 karate.env system property was:
3028
* def mystorage = Java.type('storage.DataStorage')
1
3029
* def db = new mystorage
1
3030
* def db = db.setfeature(karate.info.featureFileName)
4
3031
* def separator = java.lang.System.getProperty("file.separator")
1
3032
* def outputpath = db.outputpath()
1
3033
* eval db.ensureDirectory(outputpath)
1
3034
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
3035
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
3036
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
3037
Given path 'geonetwork/srv/dut/inspire'
0
3038
And param service = 'CSW'
0
3039
And param version = '2.0.2'
0
3040
And param request = 'GetRecordById'
0
3041
And param id = '93c8762c-4cbb-42b0-9b02-89ef902e8880'
0
3042
And param elementsetname = 'full'
0
3043
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
3044
When method get
1655
3045
Then status 200
0
3046
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '93c8762c-4cbb-42b0-9b02-89ef902e8880'
2
3047
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
3048
* def title = get response //citation/CI_Citation/title/CharacterString
1
3049
* def email = get response //electronicMailAddress/CharacterString
0
3050
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
3051
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
3052
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
3053
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
3054
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
3055
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
3056
* print organisationpath
0
06:40:01.952 [print] Beheer PDOK
3057
* print operateson
0
06:40:01.952 [print] [
"http://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=49ab8bee-b467-486a-96ca-b950443c453a#MD_DataIdentification",
"http://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=f002bfc5-7d87-46b6-819e-8415422b65c9#MD_DataIdentification",
"http://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=f0821bfe-5a0a-11e9-8647-d663bd873d93#MD_DataIdentification",
"http://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=60a2a7c2-d5b3-4ad5-b562-c448695357fb#MD_DataIdentification",
"http://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=c7d8d77b-8c47-4309-8c58-9b12b086407f#MD_DataIdentification",
"http://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=ca94a0cb-7561-4a10-a7d6-b840e56c33ff#MD_DataIdentification",
"http://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=cc408b2d-09a6-4b2b-9aa3-b46bfe2f00a5#MD_DataIdentification",
"http://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=998ba1dc-f6a6-49a3-a021-51f30d9b1d0e#MD_DataIdentification",
"https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=49ab8bee-b467-486a-96ca-b950443c453a#MD_DataIdentification"
]
3058
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
3059
* eval db.writeln('"93c8762c-4cbb-42b0-9b02-89ef902e8880","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
3060
* eval db.writeln('"93c8762c-4cbb-42b0-9b02-89ef902e8880","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
3
Scenario Outline: [1.91:18]fbe544b6-6e6f-43a0-80b9-ced1df78c434
ms: 1690
>>
Background:
3061
* url 'http://nationaalgeoregister.nl/'
1
06:39:54.462 karate.env system property was:
3062
* def mystorage = Java.type('storage.DataStorage')
1
3063
* def db = new mystorage
1
3064
* def db = db.setfeature(karate.info.featureFileName)
4
3065
* def separator = java.lang.System.getProperty("file.separator")
1
3066
* def outputpath = db.outputpath()
1
3067
* eval db.ensureDirectory(outputpath)
1
3068
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
3069
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
3070
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
3071
Given path 'geonetwork/srv/dut/inspire'
1
3072
And param service = 'CSW'
0
3073
And param version = '2.0.2'
0
3074
And param request = 'GetRecordById'
0
3075
And param id = 'fbe544b6-6e6f-43a0-80b9-ced1df78c434'
1
3076
And param elementsetname = 'full'
0
3077
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
3078
When method get
1679
3079
Then status 200
0
3080
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'fbe544b6-6e6f-43a0-80b9-ced1df78c434'
1
3081
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
3082
* def title = get response //citation/CI_Citation/title/CharacterString
0
3083
* def email = get response //electronicMailAddress/CharacterString
0
3084
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
3085
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
3086
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
3087
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
3088
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
3089
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
3090
* print organisationpath
0
06:40:02.017 [print]
3091
* print operateson
0
06:40:02.017 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=ad6caa40-89ab-47e3-85ab-3f8e32024a71#MD_DataIdentification
3092
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
3093
* eval db.writeln('"fbe544b6-6e6f-43a0-80b9-ced1df78c434","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
3094
* eval db.writeln('"fbe544b6-6e6f-43a0-80b9-ced1df78c434","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.92:18]9fd2324b-9e02-4eab-bd4a-8e2be4fcd545
ms: 1697
>>
Background:
3095
* url 'http://nationaalgeoregister.nl/'
1
06:39:54.462 karate.env system property was:
3096
* def mystorage = Java.type('storage.DataStorage')
1
3097
* def db = new mystorage
1
3098
* def db = db.setfeature(karate.info.featureFileName)
4
3099
* def separator = java.lang.System.getProperty("file.separator")
1
3100
* def outputpath = db.outputpath()
1
3101
* eval db.ensureDirectory(outputpath)
1
3102
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
3103
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
3104
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
3105
Given path 'geonetwork/srv/dut/inspire'
0
3106
And param service = 'CSW'
0
3107
And param version = '2.0.2'
0
3108
And param request = 'GetRecordById'
0
3109
And param id = '9fd2324b-9e02-4eab-bd4a-8e2be4fcd545'
1
3110
And param elementsetname = 'full'
0
3111
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
3112
When method get
1685
3113
Then status 200
0
3114
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '9fd2324b-9e02-4eab-bd4a-8e2be4fcd545'
1
3115
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
3116
* def title = get response //citation/CI_Citation/title/CharacterString
0
3117
* def email = get response //electronicMailAddress/CharacterString
0
3118
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
3119
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
3120
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
3121
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
3122
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
3123
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
3124
* print organisationpath
0
06:40:02.124 [print]
3125
* print operateson
0
06:40:02.125 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=2cc2c30c-91b8-412a-a060-e84d25272581#MD_DataIdentification
3126
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
3127
* eval db.writeln('"9fd2324b-9e02-4eab-bd4a-8e2be4fcd545","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
3
3128
* eval db.writeln('"9fd2324b-9e02-4eab-bd4a-8e2be4fcd545","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.93:18]72f30ca1-3b80-4020-b9ed-301b1a88df39
ms: 1625
>>
Background:
3129
* url 'http://nationaalgeoregister.nl/'
1
06:39:54.462 karate.env system property was:
3130
* def mystorage = Java.type('storage.DataStorage')
1
3131
* def db = new mystorage
1
3132
* def db = db.setfeature(karate.info.featureFileName)
4
3133
* def separator = java.lang.System.getProperty("file.separator")
1
3134
* def outputpath = db.outputpath()
1
3135
* eval db.ensureDirectory(outputpath)
1
3136
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
3137
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
3138
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
3139
Given path 'geonetwork/srv/dut/inspire'
0
3140
And param service = 'CSW'
0
3141
And param version = '2.0.2'
0
3142
And param request = 'GetRecordById'
0
3143
And param id = '72f30ca1-3b80-4020-b9ed-301b1a88df39'
0
3144
And param elementsetname = 'full'
0
3145
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
3146
When method get
1615
3147
Then status 200
0
3148
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '72f30ca1-3b80-4020-b9ed-301b1a88df39'
1
3149
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
3150
* def title = get response //citation/CI_Citation/title/CharacterString
0
3151
* def email = get response //electronicMailAddress/CharacterString
0
3152
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
3153
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
3154
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
3155
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
3156
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
3157
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
3158
* print organisationpath
0
06:40:02.208 [print]
3159
* print operateson
0
06:40:02.208 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=588a4cb1-b442-4ac1-87e4-40401e353166#MD_DataIdentification
3160
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
3161
* eval db.writeln('"72f30ca1-3b80-4020-b9ed-301b1a88df39","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
3162
* eval db.writeln('"72f30ca1-3b80-4020-b9ed-301b1a88df39","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.94:18]35359958-c40a-486f-9cf5-567a94de905e
ms: 1747
>>
Background:
3163
* url 'http://nationaalgeoregister.nl/'
1
06:39:54.462 karate.env system property was:
3164
* def mystorage = Java.type('storage.DataStorage')
1
3165
* def db = new mystorage
1
3166
* def db = db.setfeature(karate.info.featureFileName)
4
3167
* def separator = java.lang.System.getProperty("file.separator")
1
3168
* def outputpath = db.outputpath()
1
3169
* eval db.ensureDirectory(outputpath)
1
3170
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
3171
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
3172
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
3173
Given path 'geonetwork/srv/dut/inspire'
0
3174
And param service = 'CSW'
0
3175
And param version = '2.0.2'
0
3176
And param request = 'GetRecordById'
0
3177
And param id = '35359958-c40a-486f-9cf5-567a94de905e'
0
3178
And param elementsetname = 'full'
0
3179
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
3180
When method get
1688
3181
Then status 200
0
3182
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '35359958-c40a-486f-9cf5-567a94de905e'
1
3183
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
3184
* def title = get response //citation/CI_Citation/title/CharacterString
0
3185
* def email = get response //electronicMailAddress/CharacterString
0
3186
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
3187
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
3188
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
3189
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
3190
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
3191
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
3192
* print organisationpath
0
06:40:02.290 [print] Beheer PDOK
3193
* print operateson
0
06:40:02.290 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=c5c4a6d6-b850-473c-8ab5-af9c2c550809#MD_DataIdentification
3194
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
3195
* eval db.writeln('"35359958-c40a-486f-9cf5-567a94de905e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
44
3196
* eval db.writeln('"35359958-c40a-486f-9cf5-567a94de905e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
9
Scenario Outline: [1.95:18]2b9da196-422e-4b0e-a5ba-ba41ade308e9
ms: 1745
>>
Background:
3197
* url 'http://nationaalgeoregister.nl/'
1
06:39:54.462 karate.env system property was:
3198
* def mystorage = Java.type('storage.DataStorage')
1
3199
* def db = new mystorage
1
3200
* def db = db.setfeature(karate.info.featureFileName)
4
3201
* def separator = java.lang.System.getProperty("file.separator")
1
3202
* def outputpath = db.outputpath()
1
3203
* eval db.ensureDirectory(outputpath)
1
3204
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
3205
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
3206
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
3207
Given path 'geonetwork/srv/dut/inspire'
0
3208
And param service = 'CSW'
0
3209
And param version = '2.0.2'
0
3210
And param request = 'GetRecordById'
0
3211
And param id = '2b9da196-422e-4b0e-a5ba-ba41ade308e9'
0
3212
And param elementsetname = 'full'
0
3213
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
3214
When method get
1679
3215
Then status 200
0
3216
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '2b9da196-422e-4b0e-a5ba-ba41ade308e9'
41
3217
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
2
3218
* def title = get response //citation/CI_Citation/title/CharacterString
2
3219
* def email = get response //electronicMailAddress/CharacterString
2
3220
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
2
3221
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
1
3222
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
1
3223
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
5
3224
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
2
3225
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
2
3226
* print organisationpath
0
06:40:02.353 [print] Beheer PDOK
3227
* print operateson
1
06:40:02.353 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=977e0e94-7aa9-4784-b2da-eaec44adb61b#MD_DataIdentification
3228
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
2
3229
* eval db.writeln('"2b9da196-422e-4b0e-a5ba-ba41ade308e9","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
3230
* eval db.writeln('"2b9da196-422e-4b0e-a5ba-ba41ade308e9","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.96:18]5d3fc8f8-5cb4-42e2-8f9b-62c147f36cc5
ms: 1751
>>
Background:
3231
* url 'http://nationaalgeoregister.nl/'
1
06:39:54.462 karate.env system property was:
3232
* def mystorage = Java.type('storage.DataStorage')
1
3233
* def db = new mystorage
1
3234
* def db = db.setfeature(karate.info.featureFileName)
4
3235
* def separator = java.lang.System.getProperty("file.separator")
1
3236
* def outputpath = db.outputpath()
1
3237
* eval db.ensureDirectory(outputpath)
1
3238
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
3239
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
3240
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
3241
Given path 'geonetwork/srv/dut/inspire'
0
3242
And param service = 'CSW'
0
3243
And param version = '2.0.2'
0
3244
And param request = 'GetRecordById'
0
3245
And param id = '5d3fc8f8-5cb4-42e2-8f9b-62c147f36cc5'
0
3246
And param elementsetname = 'full'
0
3247
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
3248
When method get
1735
3249
Then status 200
0
3250
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '5d3fc8f8-5cb4-42e2-8f9b-62c147f36cc5'
1
3251
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
3252
* def title = get response //citation/CI_Citation/title/CharacterString
0
3253
* def email = get response //electronicMailAddress/CharacterString
0
3254
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
3255
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
3256
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
3257
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
7
3258
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
3259
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
3260
* print organisationpath
0
06:40:02.384 [print]
3261
* print operateson
0
06:40:02.384 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=e1e99000-ec47-4e9f-84a5-adad24fef0dc#MD_DataIdentification
3262
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
3263
* eval db.writeln('"5d3fc8f8-5cb4-42e2-8f9b-62c147f36cc5","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
3264
* eval db.writeln('"5d3fc8f8-5cb4-42e2-8f9b-62c147f36cc5","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.97:18]c3ee15e4-38bf-4d54-9c0b-cfe0e609d448
ms: 1617
>>
Background:
3265
* url 'http://nationaalgeoregister.nl/'
1
06:39:54.462 karate.env system property was:
3266
* def mystorage = Java.type('storage.DataStorage')
1
3267
* def db = new mystorage
1
3268
* def db = db.setfeature(karate.info.featureFileName)
4
3269
* def separator = java.lang.System.getProperty("file.separator")
1
3270
* def outputpath = db.outputpath()
1
3271
* eval db.ensureDirectory(outputpath)
1
3272
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
3273
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
3274
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
3275
Given path 'geonetwork/srv/dut/inspire'
1
3276
And param service = 'CSW'
0
3277
And param version = '2.0.2'
0
3278
And param request = 'GetRecordById'
0
3279
And param id = 'c3ee15e4-38bf-4d54-9c0b-cfe0e609d448'
0
3280
And param elementsetname = 'full'
0
3281
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
3282
When method get
1600
3283
Then status 200
0
3284
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'c3ee15e4-38bf-4d54-9c0b-cfe0e609d448'
1
3285
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
3286
* def title = get response //citation/CI_Citation/title/CharacterString
1
3287
* def email = get response //electronicMailAddress/CharacterString
1
3288
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
3289
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
3290
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
3291
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
3292
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
3293
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
3294
* print organisationpath
0
06:40:02.381 [print] Beheer PDOK
3295
* print operateson
0
06:40:02.381 [print] [
"http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=5a1adb58-0bbe-425d-b0fe-577a6c0a4228#MD_DataIdentification",
"http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=b9dd8575-3c1c-41f4-add5-c4f5f2b67179#MD_DataIdentification",
"https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=00fd1fc4-c190-4fa6-a68f-606c64a16679#MD_DataIdentification",
"https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=00b0a2bf-57ce-44c9-b94c-f6c9a41f5c61#MD_DataIdentification",
"https://www.nationaalgeoregister.n/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=da237167-7f87-4310-ad64-614233de7a42#MD_DataIdentification"
]
3296
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
3297
* eval db.writeln('"c3ee15e4-38bf-4d54-9c0b-cfe0e609d448","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
7
3298
* eval db.writeln('"c3ee15e4-38bf-4d54-9c0b-cfe0e609d448","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.98:18]7e450110-f643-4b73-9262-4f13966cffc6
ms: 1863
>>
Background:
3299
* url 'http://nationaalgeoregister.nl/'
1
06:39:54.462 karate.env system property was:
3300
* def mystorage = Java.type('storage.DataStorage')
1
3301
* def db = new mystorage
1
3302
* def db = db.setfeature(karate.info.featureFileName)
4
3303
* def separator = java.lang.System.getProperty("file.separator")
1
3304
* def outputpath = db.outputpath()
1
3305
* eval db.ensureDirectory(outputpath)
1
3306
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
3307
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
3308
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
3309
Given path 'geonetwork/srv/dut/inspire'
0
3310
And param service = 'CSW'
0
3311
And param version = '2.0.2'
0
3312
And param request = 'GetRecordById'
0
3313
And param id = '7e450110-f643-4b73-9262-4f13966cffc6'
0
3314
And param elementsetname = 'full'
0
3315
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
3316
When method get
1850
3317
Then status 200
0
3318
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '7e450110-f643-4b73-9262-4f13966cffc6'
2
3319
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
3320
* def title = get response //citation/CI_Citation/title/CharacterString
1
3321
* def email = get response //electronicMailAddress/CharacterString
1
3322
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
3323
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
3324
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
1
3325
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
3326
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
3327
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
3328
* print organisationpath
0
06:40:02.678 [print] Beheer PDOK
3329
* print operateson
0
06:40:02.678 [print] [
"http://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=krw2006-c57b-44a2-83a4-e51223d5f15g#MD_DataIdentification",
"http://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=krw2006-68b5-4ff3-94a4-9c24109ffd5e#MD_DataIdentification"
]
3330
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
3331
* eval db.writeln('"7e450110-f643-4b73-9262-4f13966cffc6","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
3332
* eval db.writeln('"7e450110-f643-4b73-9262-4f13966cffc6","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.99:18]280cee65-1b66-4973-a569-75122e0b745b
ms: 1719
>>
Background:
3333
* url 'http://nationaalgeoregister.nl/'
1
06:39:54.462 karate.env system property was:
3334
* def mystorage = Java.type('storage.DataStorage')
1
3335
* def db = new mystorage
1
3336
* def db = db.setfeature(karate.info.featureFileName)
4
3337
* def separator = java.lang.System.getProperty("file.separator")
1
3338
* def outputpath = db.outputpath()
1
3339
* eval db.ensureDirectory(outputpath)
1
3340
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
3341
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
3342
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
3343
Given path 'geonetwork/srv/dut/inspire'
1
3344
And param service = 'CSW'
0
3345
And param version = '2.0.2'
0
3346
And param request = 'GetRecordById'
0
3347
And param id = '280cee65-1b66-4973-a569-75122e0b745b'
0
3348
And param elementsetname = 'full'
0
3349
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
3350
When method get
1702
3351
Then status 200
0
3352
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '280cee65-1b66-4973-a569-75122e0b745b'
2
3353
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
3354
* def title = get response //citation/CI_Citation/title/CharacterString
0
3355
* def email = get response //electronicMailAddress/CharacterString
0
3356
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
3357
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
3358
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
3359
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
3360
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
3361
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
3362
* print organisationpath
0
06:40:02.677 [print]
3363
* print operateson
0
06:40:02.678 [print] [
"https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=uwwtd-9d8e-4758-83fa-28b057f185e3#MD_DataIdentification",
"https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=uwwtd-9d8e-4758-83fa-28b057f185e2#MD_DataIdentification",
"https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=uwwtd-9d8e-4758-83fa-28b057f185e1#MD_DataIdentification"
]
3364
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
3365
* eval db.writeln('"280cee65-1b66-4973-a569-75122e0b745b","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
5
3366
* eval db.writeln('"280cee65-1b66-4973-a569-75122e0b745b","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
4
Scenario Outline: [1.100:18]d4dded2c-65ec-4e13-897e-03278d53a958
ms: 1664
>>
Background:
3367
* url 'http://nationaalgeoregister.nl/'
1
06:39:54.462 karate.env system property was:
3368
* def mystorage = Java.type('storage.DataStorage')
1
3369
* def db = new mystorage
1
3370
* def db = db.setfeature(karate.info.featureFileName)
4
3371
* def separator = java.lang.System.getProperty("file.separator")
1
3372
* def outputpath = db.outputpath()
1
3373
* eval db.ensureDirectory(outputpath)
1
3374
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
3375
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
3376
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
3377
Given path 'geonetwork/srv/dut/inspire'
0
3378
And param service = 'CSW'
0
3379
And param version = '2.0.2'
0
3380
And param request = 'GetRecordById'
0
3381
And param id = 'd4dded2c-65ec-4e13-897e-03278d53a958'
0
3382
And param elementsetname = 'full'
0
3383
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
3384
When method get
1655
3385
Then status 200
0
3386
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'd4dded2c-65ec-4e13-897e-03278d53a958'
1
3387
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
3388
* def title = get response //citation/CI_Citation/title/CharacterString
0
3389
* def email = get response //electronicMailAddress/CharacterString
0
3390
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
3391
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
3392
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
3393
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
3394
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
3395
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
3396
* print organisationpath
0
06:40:02.708 [print]
3397
* print operateson
0
06:40:02.709 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&ID=b61a773c-ecad-4e60-93e9-0a4caac0b52f&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full#MD_DataIdentification
3398
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
3399
* eval db.writeln('"d4dded2c-65ec-4e13-897e-03278d53a958","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
3400
* eval db.writeln('"d4dded2c-65ec-4e13-897e-03278d53a958","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.101:18]2d1860f2-f8ba-457e-bd64-93cdabd69aee
ms: 1730
>>
Background:
3401
* url 'http://nationaalgeoregister.nl/'
1
06:39:54.462 karate.env system property was:
3402
* def mystorage = Java.type('storage.DataStorage')
1
3403
* def db = new mystorage
1
3404
* def db = db.setfeature(karate.info.featureFileName)
4
3405
* def separator = java.lang.System.getProperty("file.separator")
1
3406
* def outputpath = db.outputpath()
1
3407
* eval db.ensureDirectory(outputpath)
1
3408
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
3409
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
3410
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
3411
Given path 'geonetwork/srv/dut/inspire'
0
3412
And param service = 'CSW'
0
3413
And param version = '2.0.2'
0
3414
And param request = 'GetRecordById'
0
3415
And param id = '2d1860f2-f8ba-457e-bd64-93cdabd69aee'
0
3416
And param elementsetname = 'full'
0
3417
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
3418
When method get
1719
3419
Then status 200
0
3420
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '2d1860f2-f8ba-457e-bd64-93cdabd69aee'
1
3421
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
3422
* def title = get response //citation/CI_Citation/title/CharacterString
0
3423
* def email = get response //electronicMailAddress/CharacterString
0
3424
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
3425
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
3426
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
3427
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
3428
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
3429
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
2
3430
* print organisationpath
0
06:40:02.776 [print] Ministerie van Defensie, Koninklijke Marine, Dienst der Hydrografie
3431
* print operateson
0
06:40:02.776 [print] https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=4cda487b-c467-490c-a843-6563fec016be#MD_DataIdentification
3432
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
3433
* eval db.writeln('"2d1860f2-f8ba-457e-bd64-93cdabd69aee","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
3434
* eval db.writeln('"2d1860f2-f8ba-457e-bd64-93cdabd69aee","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.102:18]180b6682-5d6f-429d-abb7-32f7d6253787
ms: 1699
>>
Background:
3435
* url 'http://nationaalgeoregister.nl/'
1
06:39:54.462 karate.env system property was:
3436
* def mystorage = Java.type('storage.DataStorage')
1
3437
* def db = new mystorage
1
3438
* def db = db.setfeature(karate.info.featureFileName)
4
3439
* def separator = java.lang.System.getProperty("file.separator")
1
3440
* def outputpath = db.outputpath()
1
3441
* eval db.ensureDirectory(outputpath)
1
3442
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
3443
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
3444
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
3445
Given path 'geonetwork/srv/dut/inspire'
0
3446
And param service = 'CSW'
0
3447
And param version = '2.0.2'
0
3448
And param request = 'GetRecordById'
0
3449
And param id = '180b6682-5d6f-429d-abb7-32f7d6253787'
0
3450
And param elementsetname = 'full'
0
3451
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
3452
When method get
1686
3453
Then status 200
0
3454
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '180b6682-5d6f-429d-abb7-32f7d6253787'
2
3455
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
3456
* def title = get response //citation/CI_Citation/title/CharacterString
1
3457
* def email = get response //electronicMailAddress/CharacterString
1
3458
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
3459
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
1
3460
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
1
3461
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
3462
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
3463
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
3464
* print organisationpath
0
06:40:02.820 [print] Beheer PDOK
3465
* print operateson
0
06:40:02.821 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=d845cef6-0e23-4212-a951-b69763e39ef0#MD_DataIdentification
3466
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
3467
* eval db.writeln('"180b6682-5d6f-429d-abb7-32f7d6253787","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
3468
* eval db.writeln('"180b6682-5d6f-429d-abb7-32f7d6253787","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.103:18]f39d198a-1e69-43cc-b359-cc60a8c22d28
ms: 1550
>>
Background:
3469
* url 'http://nationaalgeoregister.nl/'
1
06:39:54.462 karate.env system property was:
3470
* def mystorage = Java.type('storage.DataStorage')
1
3471
* def db = new mystorage
1
3472
* def db = db.setfeature(karate.info.featureFileName)
4
3473
* def separator = java.lang.System.getProperty("file.separator")
1
3474
* def outputpath = db.outputpath()
1
3475
* eval db.ensureDirectory(outputpath)
1
3476
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
3477
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
3478
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
3479
Given path 'geonetwork/srv/dut/inspire'
0
3480
And param service = 'CSW'
0
3481
And param version = '2.0.2'
0
3482
And param request = 'GetRecordById'
0
3483
And param id = 'f39d198a-1e69-43cc-b359-cc60a8c22d28'
0
3484
And param elementsetname = 'full'
0
3485
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
3486
When method get
1539
3487
Then status 200
0
3488
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'f39d198a-1e69-43cc-b359-cc60a8c22d28'
1
3489
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
3490
* def title = get response //citation/CI_Citation/title/CharacterString
0
3491
* def email = get response //electronicMailAddress/CharacterString
0
3492
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
3493
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
3494
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
3495
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
3496
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
3497
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
3498
* print organisationpath
1
06:40:02.838 [print]
3499
* print operateson
1
06:40:02.839 [print] [
"http://www.nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=733559a5-201d-40e5-ad43-d1c7bae84d9f#MD_DataIdentification",
"http://www.nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=d3c9efd6-fca7-49d6-92bb-5f507abece90#MD_DataIdentification",
"http://www.nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=af135cd8-d429-4fc7-b9e3-09e15217520d#MD_DataIdentification",
"http://www.nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=b3ec8793-7747-4da0-b6c3-aa384446a586#MD_DataIdentification",
"http://www.nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=5800f3b0-2ea2-4231-8165-216a7b26867f#MD_DataIdentification",
"http://www.nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=d8f370e8-123c-4ab3-9410-04f728327ac6#MD_DataIdentification",
"http://www.nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=f91c6ad6-62a5-46d0-8a5b-8a62e7a4b833#MD_DataIdentification",
"http://www.nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=500d396f-5ec6-4e4b-a151-5fb3cddd8082#MD_DataIdentification"
]
3500
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
3501
* eval db.writeln('"f39d198a-1e69-43cc-b359-cc60a8c22d28","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
3502
* eval db.writeln('"f39d198a-1e69-43cc-b359-cc60a8c22d28","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.104:18]ca71572f-a498-4ca6-aa60-d4c4c4d59e2e
ms: 1534
>>
Background:
3503
* url 'http://nationaalgeoregister.nl/'
1
06:39:54.462 karate.env system property was:
3504
* def mystorage = Java.type('storage.DataStorage')
1
3505
* def db = new mystorage
1
3506
* def db = db.setfeature(karate.info.featureFileName)
4
3507
* def separator = java.lang.System.getProperty("file.separator")
1
3508
* def outputpath = db.outputpath()
1
3509
* eval db.ensureDirectory(outputpath)
1
3510
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
3511
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
3512
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
3513
Given path 'geonetwork/srv/dut/inspire'
0
3514
And param service = 'CSW'
0
3515
And param version = '2.0.2'
0
3516
And param request = 'GetRecordById'
0
3517
And param id = 'ca71572f-a498-4ca6-aa60-d4c4c4d59e2e'
0
3518
And param elementsetname = 'full'
0
3519
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
3520
When method get
1523
3521
Then status 200
0
3522
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'ca71572f-a498-4ca6-aa60-d4c4c4d59e2e'
2
3523
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
3524
* def title = get response //citation/CI_Citation/title/CharacterString
0
3525
* def email = get response //electronicMailAddress/CharacterString
0
3526
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
3527
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
3528
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
3529
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
3530
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
3531
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
3532
* print organisationpath
0
06:40:02.885 [print] Ministerie van Defensie, Koninklijke Marine, Dienst der Hydrografie
3533
* print operateson
0
06:40:02.885 [print] https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=34e95842-4e4e-46de-9198-79e8cd4d30dc#MD_DataIdentification
3534
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
3535
* eval db.writeln('"ca71572f-a498-4ca6-aa60-d4c4c4d59e2e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
3536
* eval db.writeln('"ca71572f-a498-4ca6-aa60-d4c4c4d59e2e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.105:18]bfcc588f-9393-4c70-b989-d9e92ac2f493
ms: 1596
>>
Background:
3537
* url 'http://nationaalgeoregister.nl/'
1
06:39:54.462 karate.env system property was:
3538
* def mystorage = Java.type('storage.DataStorage')
1
3539
* def db = new mystorage
1
3540
* def db = db.setfeature(karate.info.featureFileName)
4
3541
* def separator = java.lang.System.getProperty("file.separator")
1
3542
* def outputpath = db.outputpath()
1
3543
* eval db.ensureDirectory(outputpath)
1
3544
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
3545
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
3546
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
3547
Given path 'geonetwork/srv/dut/inspire'
2
3548
And param service = 'CSW'
0
3549
And param version = '2.0.2'
0
3550
And param request = 'GetRecordById'
0
3551
And param id = 'bfcc588f-9393-4c70-b989-d9e92ac2f493'
0
3552
And param elementsetname = 'full'
0
3553
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
3554
When method get
1581
3555
Then status 200
0
3556
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'bfcc588f-9393-4c70-b989-d9e92ac2f493'
2
3557
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
3558
* def title = get response //citation/CI_Citation/title/CharacterString
1
3559
* def email = get response //electronicMailAddress/CharacterString
1
3560
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
3561
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
1
3562
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
1
3563
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
1
3564
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
3565
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
3566
* print organisationpath
0
06:40:02.982 [print] Beheer PDOK
3567
* print operateson
0
06:40:02.982 [print] https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=41daef8b-155e-4608-b49c-c87ea45d931c#MD_DataIdentification
3568
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
3569
* eval db.writeln('"bfcc588f-9393-4c70-b989-d9e92ac2f493","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
3570
* eval db.writeln('"bfcc588f-9393-4c70-b989-d9e92ac2f493","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.106:18]46873d16-6835-48c4-b47f-134ab0cb31fa
ms: 1581
>>
Background:
3571
* url 'http://nationaalgeoregister.nl/'
1
06:39:54.462 karate.env system property was:
3572
* def mystorage = Java.type('storage.DataStorage')
1
3573
* def db = new mystorage
1
3574
* def db = db.setfeature(karate.info.featureFileName)
4
3575
* def separator = java.lang.System.getProperty("file.separator")
1
3576
* def outputpath = db.outputpath()
1
3577
* eval db.ensureDirectory(outputpath)
1
3578
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
3579
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
3580
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
3581
Given path 'geonetwork/srv/dut/inspire'
0
3582
And param service = 'CSW'
0
3583
And param version = '2.0.2'
0
3584
And param request = 'GetRecordById'
0
3585
And param id = '46873d16-6835-48c4-b47f-134ab0cb31fa'
0
3586
And param elementsetname = 'full'
0
3587
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
3588
When method get
1566
3589
Then status 200
0
3590
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '46873d16-6835-48c4-b47f-134ab0cb31fa'
2
3591
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
3592
* def title = get response //citation/CI_Citation/title/CharacterString
1
3593
* def email = get response //electronicMailAddress/CharacterString
1
3594
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
3595
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
3596
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
3597
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
3598
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
3599
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
3600
* print organisationpath
0
06:40:03.023 [print]
3601
* print operateson
0
06:40:03.023 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=50a2c5e6-c8e7-425d-854e-26f578196bc9#MD_DataIdentification
3602
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
2
3603
* eval db.writeln('"46873d16-6835-48c4-b47f-134ab0cb31fa","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
4
3604
* eval db.writeln('"46873d16-6835-48c4-b47f-134ab0cb31fa","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.107:18]243c6401-9ed1-4cdd-b9a7-caff08813ce4
ms: 1583
>>
Background:
3605
* url 'http://nationaalgeoregister.nl/'
1
06:39:54.462 karate.env system property was:
3606
* def mystorage = Java.type('storage.DataStorage')
1
3607
* def db = new mystorage
1
3608
* def db = db.setfeature(karate.info.featureFileName)
4
3609
* def separator = java.lang.System.getProperty("file.separator")
1
3610
* def outputpath = db.outputpath()
1
3611
* eval db.ensureDirectory(outputpath)
1
3612
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
3613
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
3614
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
3615
Given path 'geonetwork/srv/dut/inspire'
0
3616
And param service = 'CSW'
0
3617
And param version = '2.0.2'
0
3618
And param request = 'GetRecordById'
0
3619
And param id = '243c6401-9ed1-4cdd-b9a7-caff08813ce4'
0
3620
And param elementsetname = 'full'
0
3621
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
3622
When method get
1573
3623
Then status 200
0
3624
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '243c6401-9ed1-4cdd-b9a7-caff08813ce4'
1
3625
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
3626
* def title = get response //citation/CI_Citation/title/CharacterString
0
3627
* def email = get response //electronicMailAddress/CharacterString
0
3628
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
3629
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
3630
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
3631
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
3632
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
3633
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
3634
* print organisationpath
0
06:40:03.071 [print] Ministerie van Defensie, Koninklijke Marine, Dienst der Hydrografie
3635
* print operateson
0
06:40:03.071 [print] https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=e8b84fae-00b3-49c1-80c1-df8f69f64e8c#MD_DataIdentification
3636
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
3637
* eval db.writeln('"243c6401-9ed1-4cdd-b9a7-caff08813ce4","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
3638
* eval db.writeln('"243c6401-9ed1-4cdd-b9a7-caff08813ce4","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.108:18]efb5222c-112a-4c57-9bbf-f2af918cb9b5
ms: 1629
>>
Background:
3639
* url 'http://nationaalgeoregister.nl/'
1
06:39:54.462 karate.env system property was:
3640
* def mystorage = Java.type('storage.DataStorage')
1
3641
* def db = new mystorage
1
3642
* def db = db.setfeature(karate.info.featureFileName)
4
3643
* def separator = java.lang.System.getProperty("file.separator")
1
3644
* def outputpath = db.outputpath()
1
3645
* eval db.ensureDirectory(outputpath)
1
3646
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
3647
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
3648
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
3649
Given path 'geonetwork/srv/dut/inspire'
1
3650
And param service = 'CSW'
0
3651
And param version = '2.0.2'
0
3652
And param request = 'GetRecordById'
2
3653
And param id = 'efb5222c-112a-4c57-9bbf-f2af918cb9b5'
0
3654
And param elementsetname = 'full'
0
3655
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
3656
When method get
1614
3657
Then status 200
0
3658
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'efb5222c-112a-4c57-9bbf-f2af918cb9b5'
1
3659
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
3660
* def title = get response //citation/CI_Citation/title/CharacterString
0
3661
* def email = get response //electronicMailAddress/CharacterString
0
3662
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
3663
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
3664
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
3665
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
3666
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
3667
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
3668
* print organisationpath
3
06:40:03.254 [print] Ministerie van Defensie, Koninklijke Marine, Dienst der Hydrografie
3669
* print operateson
0
06:40:03.254 [print] https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=4cda487b-c467-490c-a843-6563fec016be#MD_DataIdentification
3670
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
3671
* eval db.writeln('"efb5222c-112a-4c57-9bbf-f2af918cb9b5","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
3672
* eval db.writeln('"efb5222c-112a-4c57-9bbf-f2af918cb9b5","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
4
Scenario Outline: [1.109:18]e91719b1-a139-42cf-8a1a-db78cd7477f8
ms: 1614
>>
Background:
3673
* url 'http://nationaalgeoregister.nl/'
1
06:39:54.462 karate.env system property was:
3674
* def mystorage = Java.type('storage.DataStorage')
1
3675
* def db = new mystorage
1
3676
* def db = db.setfeature(karate.info.featureFileName)
4
3677
* def separator = java.lang.System.getProperty("file.separator")
1
3678
* def outputpath = db.outputpath()
1
3679
* eval db.ensureDirectory(outputpath)
1
3680
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
3681
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
3682
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
3683
Given path 'geonetwork/srv/dut/inspire'
0
3684
And param service = 'CSW'
0
3685
And param version = '2.0.2'
0
3686
And param request = 'GetRecordById'
0
3687
And param id = 'e91719b1-a139-42cf-8a1a-db78cd7477f8'
0
3688
And param elementsetname = 'full'
0
3689
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
3690
When method get
1599
3691
Then status 200
0
3692
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'e91719b1-a139-42cf-8a1a-db78cd7477f8'
2
3693
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
3694
* def title = get response //citation/CI_Citation/title/CharacterString
1
3695
* def email = get response //electronicMailAddress/CharacterString
0
3696
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
3697
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
3698
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
3699
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
3700
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
3701
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
3702
* print organisationpath
0
06:40:03.238 [print] Beheer PDOK
3703
* print operateson
2
06:40:03.240 [print] [
"https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=krw2006-c57b-44a2-83a4-e51223d5f15g#MD_DataIdentification",
"https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=krw2006-68b5-4ff3-94a4-9c24109ffd5e#MD_DataIdentification"
]
3704
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
3705
* eval db.writeln('"e91719b1-a139-42cf-8a1a-db78cd7477f8","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
3706
* eval db.writeln('"e91719b1-a139-42cf-8a1a-db78cd7477f8","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
3
Scenario Outline: [1.110:18]0606e8cb-fa51-402c-a3be-19fd724b0a10
ms: 1497
>>
Background:
3707
* url 'http://nationaalgeoregister.nl/'
1
06:39:54.462 karate.env system property was:
3708
* def mystorage = Java.type('storage.DataStorage')
1
3709
* def db = new mystorage
1
3710
* def db = db.setfeature(karate.info.featureFileName)
4
3711
* def separator = java.lang.System.getProperty("file.separator")
1
3712
* def outputpath = db.outputpath()
1
3713
* eval db.ensureDirectory(outputpath)
1
3714
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
3715
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
3716
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
3717
Given path 'geonetwork/srv/dut/inspire'
1
3718
And param service = 'CSW'
0
3719
And param version = '2.0.2'
0
3720
And param request = 'GetRecordById'
0
3721
And param id = '0606e8cb-fa51-402c-a3be-19fd724b0a10'
0
3722
And param elementsetname = 'full'
0
3723
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
3724
When method get
1486
3725
Then status 200
0
3726
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '0606e8cb-fa51-402c-a3be-19fd724b0a10'
1
3727
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
3728
* def title = get response //citation/CI_Citation/title/CharacterString
0
3729
* def email = get response //electronicMailAddress/CharacterString
0
3730
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
3731
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
3732
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
3733
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
3734
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
3735
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
3736
* print organisationpath
0
06:40:03.264 [print]
3737
* print operateson
0
06:40:03.264 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=f2f86edf-ac3a-48e8-9292-0544da2d7645#MD_DataIdentification
3738
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
3739
* eval db.writeln('"0606e8cb-fa51-402c-a3be-19fd724b0a10","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
3740
* eval db.writeln('"0606e8cb-fa51-402c-a3be-19fd724b0a10","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
3
Scenario Outline: [1.111:18]27430d0d-e4da-4f94-ba18-7ff01d86c19e
ms: 1580
>>
Background:
3741
* url 'http://nationaalgeoregister.nl/'
1
06:39:54.462 karate.env system property was:
3742
* def mystorage = Java.type('storage.DataStorage')
1
3743
* def db = new mystorage
1
3744
* def db = db.setfeature(karate.info.featureFileName)
4
3745
* def separator = java.lang.System.getProperty("file.separator")
1
3746
* def outputpath = db.outputpath()
1
3747
* eval db.ensureDirectory(outputpath)
1
3748
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
3749
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
3750
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
3751
Given path 'geonetwork/srv/dut/inspire'
1
3752
And param service = 'CSW'
0
3753
And param version = '2.0.2'
0
3754
And param request = 'GetRecordById'
0
3755
And param id = '27430d0d-e4da-4f94-ba18-7ff01d86c19e'
1
3756
And param elementsetname = 'full'
0
3757
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
3758
When method get
1570
3759
Then status 200
0
3760
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '27430d0d-e4da-4f94-ba18-7ff01d86c19e'
1
3761
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
3762
* def title = get response //citation/CI_Citation/title/CharacterString
0
3763
* def email = get response //electronicMailAddress/CharacterString
0
3764
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
3765
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
3766
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
3767
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
3768
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
3769
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
3770
* print organisationpath
0
06:40:03.411 [print] TNO Geologische Dienst Nederland
3771
* print operateson
0
06:40:03.411 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&ID=b61a773c-ecad-4e60-93e9-0a4caac0b52f&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full#MD_DataIdentification
3772
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
3773
* eval db.writeln('"27430d0d-e4da-4f94-ba18-7ff01d86c19e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
3774
* eval db.writeln('"27430d0d-e4da-4f94-ba18-7ff01d86c19e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.112:18]d7a395a2-8673-4794-a5a6-fed6492cd580
ms: 1609
>>
Background:
3775
* url 'http://nationaalgeoregister.nl/'
1
06:39:54.462 karate.env system property was:
3776
* def mystorage = Java.type('storage.DataStorage')
1
3777
* def db = new mystorage
1
3778
* def db = db.setfeature(karate.info.featureFileName)
4
3779
* def separator = java.lang.System.getProperty("file.separator")
1
3780
* def outputpath = db.outputpath()
1
3781
* eval db.ensureDirectory(outputpath)
1
3782
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
3783
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
3784
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
3785
Given path 'geonetwork/srv/dut/inspire'
0
3786
And param service = 'CSW'
0
3787
And param version = '2.0.2'
0
3788
And param request = 'GetRecordById'
0
3789
And param id = 'd7a395a2-8673-4794-a5a6-fed6492cd580'
0
3790
And param elementsetname = 'full'
0
3791
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
3792
When method get
1594
3793
Then status 200
0
3794
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'd7a395a2-8673-4794-a5a6-fed6492cd580'
2
3795
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
3796
* def title = get response //citation/CI_Citation/title/CharacterString
1
3797
* def email = get response //electronicMailAddress/CharacterString
1
3798
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
3799
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
1
3800
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
1
3801
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
1
3802
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
1
3803
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
3804
* print organisationpath
0
06:40:03.478 [print] Beheer PDOK
3805
* print operateson
0
06:40:03.478 [print] [
"https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=1be28290-55fa-4486-b9d3-b9d147117863#MD_DataIdentification",
"https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=7c24ea89-074e-4c4f-91e3-d38e813e9cb6#MD_DataIdentification",
"https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=7f5d7945-8fa8-4d36-be4c-2fdb3c7d613b#MD_DataIdentification",
"https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=9ed6b8ed-254a-4745-a09a-3b57137d1b69#MD_DataIdentification"
]
3806
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
3807
* eval db.writeln('"d7a395a2-8673-4794-a5a6-fed6492cd580","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
3808
* eval db.writeln('"d7a395a2-8673-4794-a5a6-fed6492cd580","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.113:18]3ebe56dc-5f09-4fb3-b224-55c2db4ca2fd
ms: 1681
>>
Background:
3809
* url 'http://nationaalgeoregister.nl/'
1
06:39:54.462 karate.env system property was:
3810
* def mystorage = Java.type('storage.DataStorage')
1
3811
* def db = new mystorage
1
3812
* def db = db.setfeature(karate.info.featureFileName)
4
3813
* def separator = java.lang.System.getProperty("file.separator")
1
3814
* def outputpath = db.outputpath()
1
3815
* eval db.ensureDirectory(outputpath)
1
3816
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
3817
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
3818
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
3819
Given path 'geonetwork/srv/dut/inspire'
1
3820
And param service = 'CSW'
0
3821
And param version = '2.0.2'
0
3822
And param request = 'GetRecordById'
0
3823
And param id = '3ebe56dc-5f09-4fb3-b224-55c2db4ca2fd'
1
3824
And param elementsetname = 'full'
0
3825
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
3826
When method get
1669
3827
Then status 200
0
3828
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '3ebe56dc-5f09-4fb3-b224-55c2db4ca2fd'
1
3829
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
3830
* def title = get response //citation/CI_Citation/title/CharacterString
0
3831
* def email = get response //electronicMailAddress/CharacterString
0
3832
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
3833
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
3834
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
3835
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
2
3836
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
3837
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
3838
* print organisationpath
0
06:40:03.571 [print] Beheer PDOK
3839
* print operateson
0
06:40:03.571 [print] https://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=29c17585-e702-463f-a5dc-99d34b17d333#MD_DataIdentification
3840
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
3841
* eval db.writeln('"3ebe56dc-5f09-4fb3-b224-55c2db4ca2fd","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
3842
* eval db.writeln('"3ebe56dc-5f09-4fb3-b224-55c2db4ca2fd","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.114:18]e29b19de-d191-47f2-b944-5056a7674cce
ms: 1594
>>
Background:
3843
* url 'http://nationaalgeoregister.nl/'
1
06:39:54.462 karate.env system property was:
3844
* def mystorage = Java.type('storage.DataStorage')
1
3845
* def db = new mystorage
1
3846
* def db = db.setfeature(karate.info.featureFileName)
4
3847
* def separator = java.lang.System.getProperty("file.separator")
1
3848
* def outputpath = db.outputpath()
1
3849
* eval db.ensureDirectory(outputpath)
1
3850
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
3851
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
3852
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
3853
Given path 'geonetwork/srv/dut/inspire'
1
3854
And param service = 'CSW'
0
3855
And param version = '2.0.2'
0
3856
And param request = 'GetRecordById'
0
3857
And param id = 'e29b19de-d191-47f2-b944-5056a7674cce'
1
3858
And param elementsetname = 'full'
0
3859
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
3860
When method get
1580
3861
Then status 200
0
3862
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'e29b19de-d191-47f2-b944-5056a7674cce'
1
3863
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
3864
* def title = get response //citation/CI_Citation/title/CharacterString
0
3865
* def email = get response //electronicMailAddress/CharacterString
0
3866
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
3867
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
3868
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
3869
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
3870
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
3871
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
3872
* print organisationpath
0
06:40:03.545 [print] Ministerie van Defensie, Koninklijke Marine, Dienst der Hydrografie
3873
* print operateson
0
06:40:03.545 [print] https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=4617f0e0-6af4-4ac0-9044-31df9d03071c#MD_DataIdentification
3874
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
3875
* eval db.writeln('"e29b19de-d191-47f2-b944-5056a7674cce","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
3876
* eval db.writeln('"e29b19de-d191-47f2-b944-5056a7674cce","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
5
Scenario Outline: [1.115:18]ca9f6d28-b548-41dc-a862-52daa86d1834
ms: 1657
>>
Background:
3877
* url 'http://nationaalgeoregister.nl/'
1
06:39:54.462 karate.env system property was:
3878
* def mystorage = Java.type('storage.DataStorage')
1
3879
* def db = new mystorage
1
3880
* def db = db.setfeature(karate.info.featureFileName)
4
3881
* def separator = java.lang.System.getProperty("file.separator")
1
3882
* def outputpath = db.outputpath()
1
3883
* eval db.ensureDirectory(outputpath)
1
3884
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
3885
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
3886
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
3887
Given path 'geonetwork/srv/dut/inspire'
0
3888
And param service = 'CSW'
0
3889
And param version = '2.0.2'
0
3890
And param request = 'GetRecordById'
0
3891
And param id = 'ca9f6d28-b548-41dc-a862-52daa86d1834'
0
3892
And param elementsetname = 'full'
0
3893
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
3894
When method get
1645
3895
Then status 200
0
3896
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'ca9f6d28-b548-41dc-a862-52daa86d1834'
2
3897
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
3898
* def title = get response //citation/CI_Citation/title/CharacterString
0
3899
* def email = get response //electronicMailAddress/CharacterString
0
3900
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
3901
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
3902
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
3903
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
3904
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
3905
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
3906
* print organisationpath
0
06:40:03.674 [print] Beheer PDOK
3907
* print operateson
0
06:40:03.675 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=26103042-50a1-4ee5-9c5b-857a2f8b7680#MD_DataIdentification
3908
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
3909
* eval db.writeln('"ca9f6d28-b548-41dc-a862-52daa86d1834","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
3910
* eval db.writeln('"ca9f6d28-b548-41dc-a862-52daa86d1834","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.116:18]ac3a9efe-2154-4a4c-aae3-ea269044945d
ms: 1559
>>
Background:
3911
* url 'http://nationaalgeoregister.nl/'
1
06:39:54.462 karate.env system property was:
3912
* def mystorage = Java.type('storage.DataStorage')
1
3913
* def db = new mystorage
1
3914
* def db = db.setfeature(karate.info.featureFileName)
4
3915
* def separator = java.lang.System.getProperty("file.separator")
1
3916
* def outputpath = db.outputpath()
1
3917
* eval db.ensureDirectory(outputpath)
1
3918
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
3919
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
3920
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
3921
Given path 'geonetwork/srv/dut/inspire'
0
3922
And param service = 'CSW'
0
3923
And param version = '2.0.2'
0
3924
And param request = 'GetRecordById'
0
3925
And param id = 'ac3a9efe-2154-4a4c-aae3-ea269044945d'
0
3926
And param elementsetname = 'full'
0
3927
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
3928
When method get
1549
3929
Then status 200
0
3930
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'ac3a9efe-2154-4a4c-aae3-ea269044945d'
1
3931
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
3932
* def title = get response //citation/CI_Citation/title/CharacterString
0
3933
* def email = get response //electronicMailAddress/CharacterString
0
3934
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
3935
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
3936
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
3937
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
3938
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
3939
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
3940
* print organisationpath
0
06:40:03.686 [print]
3941
* print operateson
0
06:40:03.686 [print] https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=ed960299-a147-4c1a-bc57-41ff83a2264f#MD_DataIdentification
3942
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
3943
* eval db.writeln('"ac3a9efe-2154-4a4c-aae3-ea269044945d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
3944
* eval db.writeln('"ac3a9efe-2154-4a4c-aae3-ea269044945d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.117:18]a931e334-b752-4935-8a98-00eddc443789
ms: 1631
>>
Background:
3945
* url 'http://nationaalgeoregister.nl/'
1
06:39:54.462 karate.env system property was:
3946
* def mystorage = Java.type('storage.DataStorage')
1
3947
* def db = new mystorage
1
3948
* def db = db.setfeature(karate.info.featureFileName)
4
3949
* def separator = java.lang.System.getProperty("file.separator")
1
3950
* def outputpath = db.outputpath()
1
3951
* eval db.ensureDirectory(outputpath)
1
3952
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
3953
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
3954
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
3955
Given path 'geonetwork/srv/dut/inspire'
1
3956
And param service = 'CSW'
0
3957
And param version = '2.0.2'
0
3958
And param request = 'GetRecordById'
0
3959
And param id = 'a931e334-b752-4935-8a98-00eddc443789'
0
3960
And param elementsetname = 'full'
0
3961
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
3962
When method get
1615
3963
Then status 200
0
3964
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'a931e334-b752-4935-8a98-00eddc443789'
2
3965
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
3966
* def title = get response //citation/CI_Citation/title/CharacterString
1
3967
* def email = get response //electronicMailAddress/CharacterString
1
3968
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
3969
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
1
3970
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
1
3971
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
1
3972
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
1
3973
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
3974
* print organisationpath
0
06:40:03.837 [print]
3975
* print operateson
0
06:40:03.837 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=8a4f5c3b-aced-48fd-afb5-f1f1d0ef21d6#MD_DataIdentification
3976
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
3977
* eval db.writeln('"a931e334-b752-4935-8a98-00eddc443789","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
3
3978
* eval db.writeln('"a931e334-b752-4935-8a98-00eddc443789","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.118:18]d415c10a-8dbf-4c01-8061-4689e5db38ac
ms: 1660
>>
Background:
3979
* url 'http://nationaalgeoregister.nl/'
1
06:39:54.462 karate.env system property was:
3980
* def mystorage = Java.type('storage.DataStorage')
1
3981
* def db = new mystorage
1
3982
* def db = db.setfeature(karate.info.featureFileName)
4
3983
* def separator = java.lang.System.getProperty("file.separator")
1
3984
* def outputpath = db.outputpath()
1
3985
* eval db.ensureDirectory(outputpath)
1
3986
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
3987
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
3988
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
3989
Given path 'geonetwork/srv/dut/inspire'
1
3990
And param service = 'CSW'
0
3991
And param version = '2.0.2'
0
3992
And param request = 'GetRecordById'
0
3993
And param id = 'd415c10a-8dbf-4c01-8061-4689e5db38ac'
1
3994
And param elementsetname = 'full'
0
3995
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
3996
When method get
1648
3997
Then status 200
0
3998
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'd415c10a-8dbf-4c01-8061-4689e5db38ac'
1
3999
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
4000
* def title = get response //citation/CI_Citation/title/CharacterString
1
4001
* def email = get response //electronicMailAddress/CharacterString
1
4002
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
4003
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
4004
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
4005
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
4006
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
4007
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
4008
* print organisationpath
0
06:40:03.999 [print] Beheer PDOK
4009
* print operateson
0
06:40:03.999 [print] [
"http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=2220c0dd-3720-4e39-a130-171531c1e694#MD_DataIdentification",
"http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=78d31ab4-4116-45b7-bcf5-e14960916b0f#MD_DataIdentification",
"http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=b250f3a4-ed78-4c85-8cd5-f1af43841c6d#MD_DataIdentification"
]
4010
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
4011
* eval db.writeln('"d415c10a-8dbf-4c01-8061-4689e5db38ac","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
4012
* eval db.writeln('"d415c10a-8dbf-4c01-8061-4689e5db38ac","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.119:18]93a9571d-1754-47ee-a8f9-92633abfab3a
ms: 1611
>>
Background:
4013
* url 'http://nationaalgeoregister.nl/'
1
06:39:54.462 karate.env system property was:
4014
* def mystorage = Java.type('storage.DataStorage')
1
4015
* def db = new mystorage
1
4016
* def db = db.setfeature(karate.info.featureFileName)
4
4017
* def separator = java.lang.System.getProperty("file.separator")
1
4018
* def outputpath = db.outputpath()
1
4019
* eval db.ensureDirectory(outputpath)
1
4020
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
4021
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
4022
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
4023
Given path 'geonetwork/srv/dut/inspire'
0
4024
And param service = 'CSW'
0
4025
And param version = '2.0.2'
0
4026
And param request = 'GetRecordById'
0
4027
And param id = '93a9571d-1754-47ee-a8f9-92633abfab3a'
0
4028
And param elementsetname = 'full'
0
4029
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
4030
When method get
1600
4031
Then status 200
0
4032
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '93a9571d-1754-47ee-a8f9-92633abfab3a'
2
4033
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
4034
* def title = get response //citation/CI_Citation/title/CharacterString
1
4035
* def email = get response //electronicMailAddress/CharacterString
1
4036
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
4037
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
4038
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
4039
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
4040
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
4041
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
4042
* print organisationpath
0
06:40:03.967 [print]
4043
* print operateson
0
06:40:03.967 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/csw?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&ID=3703b249-a0eb-484e-ba7a-10e31a55bcec&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full#MD_DataIdentification
4044
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
4045
* eval db.writeln('"93a9571d-1754-47ee-a8f9-92633abfab3a","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
4046
* eval db.writeln('"93a9571d-1754-47ee-a8f9-92633abfab3a","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.120:18]542b330b-d3c6-4617-b97f-693e5cfd1872
ms: 1914
>>
Background:
4047
* url 'http://nationaalgeoregister.nl/'
1
06:39:54.462 karate.env system property was:
4048
* def mystorage = Java.type('storage.DataStorage')
1
4049
* def db = new mystorage
1
4050
* def db = db.setfeature(karate.info.featureFileName)
4
4051
* def separator = java.lang.System.getProperty("file.separator")
1
4052
* def outputpath = db.outputpath()
1
4053
* eval db.ensureDirectory(outputpath)
1
4054
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
4055
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
4056
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
4057
Given path 'geonetwork/srv/dut/inspire'
0
4058
And param service = 'CSW'
0
4059
And param version = '2.0.2'
0
4060
And param request = 'GetRecordById'
0
4061
And param id = '542b330b-d3c6-4617-b97f-693e5cfd1872'
0
4062
And param elementsetname = 'full'
0
4063
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
4
4064
When method get
1890
4065
Then status 200
0
4066
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '542b330b-d3c6-4617-b97f-693e5cfd1872'
2
4067
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
4068
* def title = get response //citation/CI_Citation/title/CharacterString
1
4069
* def email = get response //electronicMailAddress/CharacterString
1
4070
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
4071
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
1
4072
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
4
4073
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
4074
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
4075
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
4076
* print organisationpath
0
06:40:04.293 [print] TNO Geologische Dienst Nederland
4077
* print operateson
0
06:40:04.293 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&ID=24de356e-ec4d-4a18-9903-6401d222b77c&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full#MD_DataIdentification
4078
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
4079
* eval db.writeln('"542b330b-d3c6-4617-b97f-693e5cfd1872","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
6
4080
* eval db.writeln('"542b330b-d3c6-4617-b97f-693e5cfd1872","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.121:18]3ac5737f-55ed-455d-8350-44af11b67fc3
ms: 1643
>>
Background:
4081
* url 'http://nationaalgeoregister.nl/'
1
06:39:54.462 karate.env system property was:
4082
* def mystorage = Java.type('storage.DataStorage')
1
4083
* def db = new mystorage
1
4084
* def db = db.setfeature(karate.info.featureFileName)
4
4085
* def separator = java.lang.System.getProperty("file.separator")
1
4086
* def outputpath = db.outputpath()
1
4087
* eval db.ensureDirectory(outputpath)
1
4088
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
4089
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
4090
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
4091
Given path 'geonetwork/srv/dut/inspire'
0
4092
And param service = 'CSW'
0
4093
And param version = '2.0.2'
0
4094
And param request = 'GetRecordById'
0
4095
And param id = '3ac5737f-55ed-455d-8350-44af11b67fc3'
0
4096
And param elementsetname = 'full'
0
4097
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
4098
When method get
1631
4099
Then status 200
0
4100
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '3ac5737f-55ed-455d-8350-44af11b67fc3'
1
4101
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
4102
* def title = get response //citation/CI_Citation/title/CharacterString
1
4103
* def email = get response //electronicMailAddress/CharacterString
0
4104
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
4105
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
4106
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
4107
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
4108
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
4109
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
4110
* print organisationpath
0
06:40:04.028 [print] Beheer PDOK
4111
* print operateson
0
06:40:04.029 [print] https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=5c37d29a-006d-4136-8989-adfc35a1d4a7#MD_DataIdentification
4112
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
4113
* eval db.writeln('"3ac5737f-55ed-455d-8350-44af11b67fc3","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
4114
* eval db.writeln('"3ac5737f-55ed-455d-8350-44af11b67fc3","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.122:18]ceda1b88-32ac-40b2-a841-71eb041c9427
ms: 1616
>>
Background:
4115
* url 'http://nationaalgeoregister.nl/'
1
06:39:54.462 karate.env system property was:
4116
* def mystorage = Java.type('storage.DataStorage')
1
4117
* def db = new mystorage
1
4118
* def db = db.setfeature(karate.info.featureFileName)
4
4119
* def separator = java.lang.System.getProperty("file.separator")
1
4120
* def outputpath = db.outputpath()
1
4121
* eval db.ensureDirectory(outputpath)
1
4122
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
4123
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
4124
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
4125
Given path 'geonetwork/srv/dut/inspire'
2
4126
And param service = 'CSW'
0
4127
And param version = '2.0.2'
0
4128
And param request = 'GetRecordById'
0
4129
And param id = 'ceda1b88-32ac-40b2-a841-71eb041c9427'
0
4130
And param elementsetname = 'full'
0
4131
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
4132
When method get
1601
4133
Then status 200
0
4134
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'ceda1b88-32ac-40b2-a841-71eb041c9427'
2
4135
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
4136
* def title = get response //citation/CI_Citation/title/CharacterString
1
4137
* def email = get response //electronicMailAddress/CharacterString
1
4138
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
4139
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
4140
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
4141
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
4142
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
4143
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
4144
* print organisationpath
0
06:40:04.294 [print] Beheer PDOK
4145
* print operateson
0
06:40:04.295 [print] [
"http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=11d83e36-fd0d-46bc-838c-0567c5dfdb19#MD_DataIdentification",
"http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=34dacd72-d2fb-4e28-844d-73d3b9c3fef2#MD_DataIdentification",
"http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=419b85e5-04ee-4cc9-b910-bc58594a943a#MD_DataIdentification",
"http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=119f7512-a71e-4d1a-82e7-7a2b63f9338b#MD_DataIdentification",
"http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=6ea55ec4-f312-40ef-9935-68806e61b496#MD_DataIdentification",
"http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=af784610-df36-4d40-bac0-23d8e728999f#MD_DataIdentification",
"http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=24eb504e-f5f3-4ecf-b760-cc5630e82a57#MD_DataIdentification"
]
4146
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
4147
* eval db.writeln('"ceda1b88-32ac-40b2-a841-71eb041c9427","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
4148
* eval db.writeln('"ceda1b88-32ac-40b2-a841-71eb041c9427","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.123:18]c35c7421-f3ef-4bfb-afcc-ca15d03b8e6f
ms: 1510
>>
Background:
4149
* url 'http://nationaalgeoregister.nl/'
1
06:39:54.462 karate.env system property was:
4150
* def mystorage = Java.type('storage.DataStorage')
1
4151
* def db = new mystorage
1
4152
* def db = db.setfeature(karate.info.featureFileName)
4
4153
* def separator = java.lang.System.getProperty("file.separator")
1
4154
* def outputpath = db.outputpath()
1
4155
* eval db.ensureDirectory(outputpath)
1
4156
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
4157
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
4158
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
4159
Given path 'geonetwork/srv/dut/inspire'
0
4160
And param service = 'CSW'
0
4161
And param version = '2.0.2'
0
4162
And param request = 'GetRecordById'
0
4163
And param id = 'c35c7421-f3ef-4bfb-afcc-ca15d03b8e6f'
0
4164
And param elementsetname = 'full'
0
4165
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
4166
When method get
1499
4167
Then status 200
0
4168
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'c35c7421-f3ef-4bfb-afcc-ca15d03b8e6f'
1
4169
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
4170
* def title = get response //citation/CI_Citation/title/CharacterString
0
4171
* def email = get response //electronicMailAddress/CharacterString
0
4172
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
4173
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
4174
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
4175
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
4176
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
4177
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
4178
* print organisationpath
0
06:40:04.192 [print] Ministerie van Defensie, Koninklijke Marine, Dienst der Hydrografie
4179
* print operateson
1
06:40:04.192 [print] https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=c2225e5d-b46f-4e38-8445-ab10fd40c0dc#MD_DataIdentification
4180
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
4181
* eval db.writeln('"c35c7421-f3ef-4bfb-afcc-ca15d03b8e6f","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
4182
* eval db.writeln('"c35c7421-f3ef-4bfb-afcc-ca15d03b8e6f","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
3
Scenario Outline: [1.124:18]081bcfff-5f66-467c-95d0-d88dcf9aa4cf
ms: 1693
>>
Background:
4183
* url 'http://nationaalgeoregister.nl/'
1
06:39:54.462 karate.env system property was:
4184
* def mystorage = Java.type('storage.DataStorage')
1
4185
* def db = new mystorage
1
4186
* def db = db.setfeature(karate.info.featureFileName)
4
4187
* def separator = java.lang.System.getProperty("file.separator")
1
4188
* def outputpath = db.outputpath()
1
4189
* eval db.ensureDirectory(outputpath)
1
4190
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
4191
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
4192
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
4193
Given path 'geonetwork/srv/dut/inspire'
0
4194
And param service = 'CSW'
0
4195
And param version = '2.0.2'
0
4196
And param request = 'GetRecordById'
0
4197
And param id = '081bcfff-5f66-467c-95d0-d88dcf9aa4cf'
0
4198
And param elementsetname = 'full'
0
4199
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
4200
When method get
1682
4201
Then status 200
0
4202
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '081bcfff-5f66-467c-95d0-d88dcf9aa4cf'
2
4203
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
4204
* def title = get response //citation/CI_Citation/title/CharacterString
1
4205
* def email = get response //electronicMailAddress/CharacterString
1
4206
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
4207
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
4208
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
4209
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
4210
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
4211
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
4212
* print organisationpath
0
06:40:04.402 [print]
4213
* print operateson
0
06:40:04.402 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=b3f66964-a8c1-456f-9799-9cafca2cb7b1#MD_DataIdentification
4214
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
4215
* eval db.writeln('"081bcfff-5f66-467c-95d0-d88dcf9aa4cf","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
4216
* eval db.writeln('"081bcfff-5f66-467c-95d0-d88dcf9aa4cf","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.125:18]4bb89277-6ebe-4e66-8929-cd275aa7fd81
ms: 1545
>>
Background:
4217
* url 'http://nationaalgeoregister.nl/'
1
06:39:54.462 karate.env system property was:
4218
* def mystorage = Java.type('storage.DataStorage')
1
4219
* def db = new mystorage
1
4220
* def db = db.setfeature(karate.info.featureFileName)
4
4221
* def separator = java.lang.System.getProperty("file.separator")
1
4222
* def outputpath = db.outputpath()
1
4223
* eval db.ensureDirectory(outputpath)
1
4224
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
4225
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
4226
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
4227
Given path 'geonetwork/srv/dut/inspire'
0
4228
And param service = 'CSW'
0
4229
And param version = '2.0.2'
0
4230
And param request = 'GetRecordById'
0
4231
And param id = '4bb89277-6ebe-4e66-8929-cd275aa7fd81'
0
4232
And param elementsetname = 'full'
0
4233
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
4234
When method get
1534
4235
Then status 200
0
4236
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '4bb89277-6ebe-4e66-8929-cd275aa7fd81'
1
4237
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
4238
* def title = get response //citation/CI_Citation/title/CharacterString
0
4239
* def email = get response //electronicMailAddress/CharacterString
0
4240
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
4241
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
4242
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
4243
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
4244
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
4245
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
4246
* print organisationpath
0
06:40:04.320 [print] Beheer PDOK
4247
* print operateson
0
06:40:04.320 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=76327507-4be4-4f2a-8d0a-83ec36656177#MD_DataIdentification
4248
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
4249
* eval db.writeln('"4bb89277-6ebe-4e66-8929-cd275aa7fd81","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
4250
* eval db.writeln('"4bb89277-6ebe-4e66-8929-cd275aa7fd81","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.126:18]dda53ebc-bee7-4765-8f1f-6ac59b0aec39
ms: 1842
>>
Background:
4251
* url 'http://nationaalgeoregister.nl/'
1
06:39:54.462 karate.env system property was:
4252
* def mystorage = Java.type('storage.DataStorage')
1
4253
* def db = new mystorage
1
4254
* def db = db.setfeature(karate.info.featureFileName)
4
4255
* def separator = java.lang.System.getProperty("file.separator")
1
4256
* def outputpath = db.outputpath()
1
4257
* eval db.ensureDirectory(outputpath)
1
4258
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
4259
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
4260
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
4261
Given path 'geonetwork/srv/dut/inspire'
0
4262
And param service = 'CSW'
0
4263
And param version = '2.0.2'
0
4264
And param request = 'GetRecordById'
0
4265
And param id = 'dda53ebc-bee7-4765-8f1f-6ac59b0aec39'
0
4266
And param elementsetname = 'full'
0
4267
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
4268
When method get
1829
4269
Then status 200
0
4270
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'dda53ebc-bee7-4765-8f1f-6ac59b0aec39'
2
4271
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
4272
* def title = get response //citation/CI_Citation/title/CharacterString
1
4273
* def email = get response //electronicMailAddress/CharacterString
1
4274
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
4275
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
1
4276
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
1
4277
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
1
4278
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
4279
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
4280
* print organisationpath
0
06:40:04.669 [print] TNO Geologische Dienst Nederland
4281
* print operateson
0
06:40:04.669 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&ID=9dd9bf30-36e6-45ae-b368-bdef2720bdde&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full#MD_DataIdentification
4282
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
4283
* eval db.writeln('"dda53ebc-bee7-4765-8f1f-6ac59b0aec39","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
4284
* eval db.writeln('"dda53ebc-bee7-4765-8f1f-6ac59b0aec39","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.127:18]62dc32f1-853c-416a-876b-6e083554f1b6
ms: 1849
>>
Background:
4285
* url 'http://nationaalgeoregister.nl/'
1
06:39:54.462 karate.env system property was:
4286
* def mystorage = Java.type('storage.DataStorage')
1
4287
* def db = new mystorage
1
4288
* def db = db.setfeature(karate.info.featureFileName)
4
4289
* def separator = java.lang.System.getProperty("file.separator")
1
4290
* def outputpath = db.outputpath()
1
4291
* eval db.ensureDirectory(outputpath)
1
4292
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
4293
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
4294
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
4295
Given path 'geonetwork/srv/dut/inspire'
0
4296
And param service = 'CSW'
0
4297
And param version = '2.0.2'
0
4298
And param request = 'GetRecordById'
0
4299
And param id = '62dc32f1-853c-416a-876b-6e083554f1b6'
0
4300
And param elementsetname = 'full'
0
4301
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
4302
When method get
1839
4303
Then status 200
0
4304
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '62dc32f1-853c-416a-876b-6e083554f1b6'
1
4305
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
4306
* def title = get response //citation/CI_Citation/title/CharacterString
0
4307
* def email = get response //electronicMailAddress/CharacterString
0
4308
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
4309
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
4310
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
4311
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
4312
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
4313
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
4314
* print organisationpath
0
06:40:04.688 [print] Beheer PDOK
4315
* print operateson
0
06:40:04.688 [print] https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=c3c004ad-5387-4b00-a225-9afbcaa5d31b#MD_DataIdentification
4316
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
4317
* eval db.writeln('"62dc32f1-853c-416a-876b-6e083554f1b6","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
4318
* eval db.writeln('"62dc32f1-853c-416a-876b-6e083554f1b6","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.128:18]3e65fa1b-9bb1-41bd-9760-76962751b839
ms: 1886
>>
Background:
4319
* url 'http://nationaalgeoregister.nl/'
1
06:39:54.462 karate.env system property was:
4320
* def mystorage = Java.type('storage.DataStorage')
1
4321
* def db = new mystorage
1
4322
* def db = db.setfeature(karate.info.featureFileName)
4
4323
* def separator = java.lang.System.getProperty("file.separator")
1
4324
* def outputpath = db.outputpath()
1
4325
* eval db.ensureDirectory(outputpath)
1
4326
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
4327
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
4328
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
4329
Given path 'geonetwork/srv/dut/inspire'
1
4330
And param service = 'CSW'
0
4331
And param version = '2.0.2'
0
4332
And param request = 'GetRecordById'
0
4333
And param id = '3e65fa1b-9bb1-41bd-9760-76962751b839'
0
4334
And param elementsetname = 'full'
0
4335
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
4336
When method get
1862
4337
Then status 200
0
4338
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '3e65fa1b-9bb1-41bd-9760-76962751b839'
1
4339
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
4340
* def title = get response //citation/CI_Citation/title/CharacterString
1
4341
* def email = get response //electronicMailAddress/CharacterString
0
4342
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
4343
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
4344
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
4345
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
4346
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
4347
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
4348
* print organisationpath
0
06:40:04.760 [print] Beheer PDOK
4349
* print operateson
0
06:40:04.760 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=5996e444-f7f3-40d2-b485-8b9af6e8aa89#MD_DataIdentification
4350
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
4351
* eval db.writeln('"3e65fa1b-9bb1-41bd-9760-76962751b839","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
4352
* eval db.writeln('"3e65fa1b-9bb1-41bd-9760-76962751b839","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
14
Scenario Outline: [1.129:18]923a666c-ee4f-496c-8c85-94d5f81e1f30
ms: 1789
>>
Background:
4353
* url 'http://nationaalgeoregister.nl/'
1
06:39:54.462 karate.env system property was:
4354
* def mystorage = Java.type('storage.DataStorage')
1
4355
* def db = new mystorage
1
4356
* def db = db.setfeature(karate.info.featureFileName)
4
4357
* def separator = java.lang.System.getProperty("file.separator")
1
4358
* def outputpath = db.outputpath()
1
4359
* eval db.ensureDirectory(outputpath)
1
4360
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
4361
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
4362
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
4363
Given path 'geonetwork/srv/dut/inspire'
1
4364
And param service = 'CSW'
0
4365
And param version = '2.0.2'
0
4366
And param request = 'GetRecordById'
0
4367
And param id = '923a666c-ee4f-496c-8c85-94d5f81e1f30'
0
4368
And param elementsetname = 'full'
0
4369
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
4370
When method get
1779
4371
Then status 200
0
4372
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '923a666c-ee4f-496c-8c85-94d5f81e1f30'
1
4373
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
4374
* def title = get response //citation/CI_Citation/title/CharacterString
0
4375
* def email = get response //electronicMailAddress/CharacterString
0
4376
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
4377
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
1
4378
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
4379
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
4380
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
4381
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
4382
* print organisationpath
0
06:40:04.771 [print] Ministerie van Defensie, Koninklijke Marine, Dienst der Hydrografie
4383
* print operateson
0
06:40:04.771 [print] https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=4617f0e0-6af4-4ac0-9044-31df9d03071c#MD_DataIdentification
4384
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
4385
* eval db.writeln('"923a666c-ee4f-496c-8c85-94d5f81e1f30","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
4386
* eval db.writeln('"923a666c-ee4f-496c-8c85-94d5f81e1f30","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.130:18]9e2e977a-16a6-42a4-a208-c4f70704f383
ms: 1716
>>
Background:
4387
* url 'http://nationaalgeoregister.nl/'
1
06:39:54.462 karate.env system property was:
4388
* def mystorage = Java.type('storage.DataStorage')
1
4389
* def db = new mystorage
1
4390
* def db = db.setfeature(karate.info.featureFileName)
4
4391
* def separator = java.lang.System.getProperty("file.separator")
1
4392
* def outputpath = db.outputpath()
1
4393
* eval db.ensureDirectory(outputpath)
1
4394
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
4395
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
4396
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
4397
Given path 'geonetwork/srv/dut/inspire'
1
4398
And param service = 'CSW'
0
4399
And param version = '2.0.2'
0
4400
And param request = 'GetRecordById'
0
4401
And param id = '9e2e977a-16a6-42a4-a208-c4f70704f383'
0
4402
And param elementsetname = 'full'
0
4403
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
4404
When method get
1699
4405
Then status 200
0
4406
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '9e2e977a-16a6-42a4-a208-c4f70704f383'
2
4407
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
4408
* def title = get response //citation/CI_Citation/title/CharacterString
1
4409
* def email = get response //electronicMailAddress/CharacterString
2
4410
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
3
4411
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
1
4412
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
1
4413
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
1
4414
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
1
4415
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
4416
* print organisationpath
0
06:40:04.742 [print] Beheer PDOK
4417
* print operateson
0
06:40:04.742 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=aa3b5e6e-7baa-40c0-8972-3353e927ec2f#MD_DataIdentification
4418
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
4419
* eval db.writeln('"9e2e977a-16a6-42a4-a208-c4f70704f383","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
4420
* eval db.writeln('"9e2e977a-16a6-42a4-a208-c4f70704f383","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
3
Scenario Outline: [1.131:18]c226f573-4b39-4cbd-b84b-01f308e70972
ms: 2069
>>
Background:
4421
* url 'http://nationaalgeoregister.nl/'
1
06:39:54.462 karate.env system property was:
4422
* def mystorage = Java.type('storage.DataStorage')
1
4423
* def db = new mystorage
1
4424
* def db = db.setfeature(karate.info.featureFileName)
4
4425
* def separator = java.lang.System.getProperty("file.separator")
1
4426
* def outputpath = db.outputpath()
1
4427
* eval db.ensureDirectory(outputpath)
1
4428
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
4429
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
4430
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
4431
Given path 'geonetwork/srv/dut/inspire'
1
4432
And param service = 'CSW'
0
4433
And param version = '2.0.2'
0
4434
And param request = 'GetRecordById'
0
4435
And param id = 'c226f573-4b39-4cbd-b84b-01f308e70972'
1
4436
And param elementsetname = 'full'
0
4437
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
4438
When method get
2056
4439
Then status 200
0
4440
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'c226f573-4b39-4cbd-b84b-01f308e70972'
2
4441
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
4442
* def title = get response //citation/CI_Citation/title/CharacterString
1
4443
* def email = get response //electronicMailAddress/CharacterString
1
4444
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
4445
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
4446
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
4447
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
4448
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
4449
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
4450
* print organisationpath
0
06:40:05.140 [print] Beheer PDOK
4451
* print operateson
0
06:40:05.140 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=71c2b7d2-a1a8-4836-b8d4-7247d331b04d#MD_DataIdentification
4452
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
4453
* eval db.writeln('"c226f573-4b39-4cbd-b84b-01f308e70972","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
4454
* eval db.writeln('"c226f573-4b39-4cbd-b84b-01f308e70972","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.132:18]8abcd2d1-3beb-43e5-a572-2b2da05a0a98
ms: 1948
>>
Background:
4455
* url 'http://nationaalgeoregister.nl/'
1
06:39:54.462 karate.env system property was:
4456
* def mystorage = Java.type('storage.DataStorage')
1
4457
* def db = new mystorage
1
4458
* def db = db.setfeature(karate.info.featureFileName)
4
4459
* def separator = java.lang.System.getProperty("file.separator")
1
4460
* def outputpath = db.outputpath()
1
4461
* eval db.ensureDirectory(outputpath)
1
4462
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
4463
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
4464
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
4465
Given path 'geonetwork/srv/dut/inspire'
0
4466
And param service = 'CSW'
0
4467
And param version = '2.0.2'
0
4468
And param request = 'GetRecordById'
0
4469
And param id = '8abcd2d1-3beb-43e5-a572-2b2da05a0a98'
0
4470
And param elementsetname = 'full'
12
4471
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
4472
When method get
1920
4473
Then status 200
0
4474
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '8abcd2d1-3beb-43e5-a572-2b2da05a0a98'
1
4475
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
4476
* def title = get response //citation/CI_Citation/title/CharacterString
1
4477
* def email = get response //electronicMailAddress/CharacterString
1
4478
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
4479
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
4480
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
4481
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
4482
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
4483
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
4484
* print organisationpath
0
06:40:05.183 [print] Beheer PDOK
4485
* print operateson
0
06:40:05.183 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=710c381c-ab2d-45d5-a45d-af2eba811e5f#MD_DataIdentification
4486
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
3
4487
* eval db.writeln('"8abcd2d1-3beb-43e5-a572-2b2da05a0a98","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
5
4488
* eval db.writeln('"8abcd2d1-3beb-43e5-a572-2b2da05a0a98","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.133:18]4074b3c3-ca85-45ad-bc0d-b5fca8540c0a
ms: 1913
>>
Background:
4489
* url 'http://nationaalgeoregister.nl/'
1
06:39:54.462 karate.env system property was:
4490
* def mystorage = Java.type('storage.DataStorage')
1
4491
* def db = new mystorage
1
4492
* def db = db.setfeature(karate.info.featureFileName)
4
4493
* def separator = java.lang.System.getProperty("file.separator")
1
4494
* def outputpath = db.outputpath()
1
4495
* eval db.ensureDirectory(outputpath)
1
4496
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
4497
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
4498
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
4499
Given path 'geonetwork/srv/dut/inspire'
0
4500
And param service = 'CSW'
0
4501
And param version = '2.0.2'
0
4502
And param request = 'GetRecordById'
0
4503
And param id = '4074b3c3-ca85-45ad-bc0d-b5fca8540c0a'
0
4504
And param elementsetname = 'full'
0
4505
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
4506
When method get
1903
4507
Then status 200
0
4508
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '4074b3c3-ca85-45ad-bc0d-b5fca8540c0a'
1
4509
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
4510
* def title = get response //citation/CI_Citation/title/CharacterString
1
4511
* def email = get response //electronicMailAddress/CharacterString
1
4512
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
4513
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
4514
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
4515
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
4516
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
4517
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
4518
* print organisationpath
0
06:40:05.170 [print] Beheer PDOK
4519
* print operateson
0
06:40:05.170 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=831f7bd7-c2ae-4336-bd2f-47ab20d7cdb7#MD_DataIdentification
4520
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
4521
* eval db.writeln('"4074b3c3-ca85-45ad-bc0d-b5fca8540c0a","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
4522
* eval db.writeln('"4074b3c3-ca85-45ad-bc0d-b5fca8540c0a","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.134:18]88a93a3b-d522-4c5d-9b0f-c6c39a118442
ms: 1647
>>
Background:
4523
* url 'http://nationaalgeoregister.nl/'
1
06:39:54.462 karate.env system property was:
4524
* def mystorage = Java.type('storage.DataStorage')
1
4525
* def db = new mystorage
1
4526
* def db = db.setfeature(karate.info.featureFileName)
4
4527
* def separator = java.lang.System.getProperty("file.separator")
1
4528
* def outputpath = db.outputpath()
1
4529
* eval db.ensureDirectory(outputpath)
1
4530
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
4531
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
4532
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
4533
Given path 'geonetwork/srv/dut/inspire'
0
4534
And param service = 'CSW'
0
4535
And param version = '2.0.2'
0
4536
And param request = 'GetRecordById'
0
4537
And param id = '88a93a3b-d522-4c5d-9b0f-c6c39a118442'
0
4538
And param elementsetname = 'full'
0
4539
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
4540
When method get
1631
4541
Then status 200
0
4542
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '88a93a3b-d522-4c5d-9b0f-c6c39a118442'
2
4543
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
4544
* def title = get response //citation/CI_Citation/title/CharacterString
1
4545
* def email = get response //electronicMailAddress/CharacterString
0
4546
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
4547
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
4548
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
4549
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
4550
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
4551
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
3
4552
* print organisationpath
0
06:40:04.910 [print] Beheer PDOK
4553
* print operateson
0
06:40:04.911 [print] https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=10d1153e-778f-4995-9b6c-7c69b196cccb#MD_DataIdentification
4554
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
4555
* eval db.writeln('"88a93a3b-d522-4c5d-9b0f-c6c39a118442","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
3
4556
* eval db.writeln('"88a93a3b-d522-4c5d-9b0f-c6c39a118442","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.135:18]f2437a92-ddd3-4777-a1bc-fdf4b4a7fcb8
ms: 1780
>>
Background:
4557
* url 'http://nationaalgeoregister.nl/'
1
06:39:54.462 karate.env system property was:
4558
* def mystorage = Java.type('storage.DataStorage')
1
4559
* def db = new mystorage
1
4560
* def db = db.setfeature(karate.info.featureFileName)
4
4561
* def separator = java.lang.System.getProperty("file.separator")
1
4562
* def outputpath = db.outputpath()
1
4563
* eval db.ensureDirectory(outputpath)
1
4564
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
4565
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
4566
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
4567
Given path 'geonetwork/srv/dut/inspire'
0
4568
And param service = 'CSW'
0
4569
And param version = '2.0.2'
0
4570
And param request = 'GetRecordById'
0
4571
And param id = 'f2437a92-ddd3-4777-a1bc-fdf4b4a7fcb8'
0
4572
And param elementsetname = 'full'
0
4573
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
4574
When method get
1762
4575
Then status 200
0
4576
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'f2437a92-ddd3-4777-a1bc-fdf4b4a7fcb8'
1
4577
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
4578
* def title = get response //citation/CI_Citation/title/CharacterString
1
4579
* def email = get response //electronicMailAddress/CharacterString
0
4580
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
4581
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
4582
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
4583
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
4584
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
4585
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
4586
* print organisationpath
0
06:40:05.184 [print] Beheer PDOK
4587
* print operateson
2
06:40:05.185 [print] [
"https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=2e5f0f60-0f2f-4e17-96af-c913fe305ecb#MD_DataIdentification",
"https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=8f0497f0-dbd7-4bee-b85a-5fdec484a7ff#MD_DataIdentification",
"https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=a9b7026e-0a81-4813-93bd-ba49e6f28502#MD_DataIdentification"
]
4588
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
4589
* eval db.writeln('"f2437a92-ddd3-4777-a1bc-fdf4b4a7fcb8","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
4590
* eval db.writeln('"f2437a92-ddd3-4777-a1bc-fdf4b4a7fcb8","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
7
Scenario Outline: [1.136:18]c0a8e0ee-8639-44d4-be07-d7edf9c276c7
ms: 1855
>>
Background:
4591
* url 'http://nationaalgeoregister.nl/'
1
06:39:54.462 karate.env system property was:
4592
* def mystorage = Java.type('storage.DataStorage')
1
4593
* def db = new mystorage
1
4594
* def db = db.setfeature(karate.info.featureFileName)
4
4595
* def separator = java.lang.System.getProperty("file.separator")
1
4596
* def outputpath = db.outputpath()
1
4597
* eval db.ensureDirectory(outputpath)
1
4598
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
4599
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
4600
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
4601
Given path 'geonetwork/srv/dut/inspire'
0
4602
And param service = 'CSW'
0
4603
And param version = '2.0.2'
0
4604
And param request = 'GetRecordById'
0
4605
And param id = 'c0a8e0ee-8639-44d4-be07-d7edf9c276c7'
0
4606
And param elementsetname = 'full'
0
4607
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
4608
When method get
1841
4609
Then status 200
0
4610
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'c0a8e0ee-8639-44d4-be07-d7edf9c276c7'
2
4611
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
4612
* def title = get response //citation/CI_Citation/title/CharacterString
1
4613
* def email = get response //electronicMailAddress/CharacterString
1
4614
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
4615
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
4616
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
4617
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
4618
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
4619
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
4620
* print organisationpath
1
06:40:05.334 [print] Beheer PDOK
4621
* print operateson
0
06:40:05.334 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=14657c9b-91e4-4355-8563-2911ad0e78e4#MD_DataIdentification
4622
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
4623
* eval db.writeln('"c0a8e0ee-8639-44d4-be07-d7edf9c276c7","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
4624
* eval db.writeln('"c0a8e0ee-8639-44d4-be07-d7edf9c276c7","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.137:18]c374d556-7b6e-459b-83c7-74da6ad90a59
ms: 1949
>>
Background:
4625
* url 'http://nationaalgeoregister.nl/'
1
06:39:54.462 karate.env system property was:
4626
* def mystorage = Java.type('storage.DataStorage')
1
4627
* def db = new mystorage
1
4628
* def db = db.setfeature(karate.info.featureFileName)
4
4629
* def separator = java.lang.System.getProperty("file.separator")
1
4630
* def outputpath = db.outputpath()
1
4631
* eval db.ensureDirectory(outputpath)
1
4632
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
4633
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
4634
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
4635
Given path 'geonetwork/srv/dut/inspire'
0
4636
And param service = 'CSW'
0
4637
And param version = '2.0.2'
0
4638
And param request = 'GetRecordById'
0
4639
And param id = 'c374d556-7b6e-459b-83c7-74da6ad90a59'
0
4640
And param elementsetname = 'full'
0
4641
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
4642
When method get
1937
4643
Then status 200
0
4644
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'c374d556-7b6e-459b-83c7-74da6ad90a59'
1
4645
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
4646
* def title = get response //citation/CI_Citation/title/CharacterString
1
4647
* def email = get response //electronicMailAddress/CharacterString
0
4648
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
4649
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
4650
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
4651
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
4652
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
4653
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
4654
* print organisationpath
0
06:40:05.496 [print] Beheer PDOK
4655
* print operateson
0
06:40:05.496 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=4783ea4f-6b8c-4600-8af0-516f3556cfe9#MD_DataIdentification
4656
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
4657
* eval db.writeln('"c374d556-7b6e-459b-83c7-74da6ad90a59","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
4658
* eval db.writeln('"c374d556-7b6e-459b-83c7-74da6ad90a59","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.138:18]37e05521-c323-4dbe-aba4-de1178ba44a5
ms: 2299
>>
Background:
4659
* url 'http://nationaalgeoregister.nl/'
1
06:39:54.462 karate.env system property was:
4660
* def mystorage = Java.type('storage.DataStorage')
1
4661
* def db = new mystorage
1
4662
* def db = db.setfeature(karate.info.featureFileName)
4
4663
* def separator = java.lang.System.getProperty("file.separator")
1
4664
* def outputpath = db.outputpath()
1
4665
* eval db.ensureDirectory(outputpath)
1
4666
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
4667
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
4668
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
4669
Given path 'geonetwork/srv/dut/inspire'
0
4670
And param service = 'CSW'
0
4671
And param version = '2.0.2'
0
4672
And param request = 'GetRecordById'
0
4673
And param id = '37e05521-c323-4dbe-aba4-de1178ba44a5'
0
4674
And param elementsetname = 'full'
0
4675
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
4676
When method get
2193
4677
Then status 200
0
4678
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '37e05521-c323-4dbe-aba4-de1178ba44a5'
8
4679
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
9
4680
* def title = get response //citation/CI_Citation/title/CharacterString
9
4681
* def email = get response //electronicMailAddress/CharacterString
9
4682
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
9
4683
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
6
4684
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
6
4685
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
6
4686
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
6
4687
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
9
4688
* print organisationpath
0
06:40:05.845 [print] Beheer PDOK
4689
* print operateson
0
06:40:05.845 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=fcefa13c-44e2-4953-b6d6-1ddceebc57fc#MD_DataIdentification
4690
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
21
4691
* eval db.writeln('"37e05521-c323-4dbe-aba4-de1178ba44a5","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
4692
* eval db.writeln('"37e05521-c323-4dbe-aba4-de1178ba44a5","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
6
Scenario Outline: [1.139:18]5f0c583a-101e-45ea-b684-a056713cf811
ms: 1901
>>
Background:
4693
* url 'http://nationaalgeoregister.nl/'
1
06:39:54.462 karate.env system property was:
4694
* def mystorage = Java.type('storage.DataStorage')
1
4695
* def db = new mystorage
1
4696
* def db = db.setfeature(karate.info.featureFileName)
4
4697
* def separator = java.lang.System.getProperty("file.separator")
1
4698
* def outputpath = db.outputpath()
1
4699
* eval db.ensureDirectory(outputpath)
1
4700
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
4701
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
4702
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
4703
Given path 'geonetwork/srv/dut/inspire'
0
4704
And param service = 'CSW'
0
4705
And param version = '2.0.2'
0
4706
And param request = 'GetRecordById'
0
4707
And param id = '5f0c583a-101e-45ea-b684-a056713cf811'
1
4708
And param elementsetname = 'full'
0
4709
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
4710
When method get
1890
4711
Then status 200
0
4712
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '5f0c583a-101e-45ea-b684-a056713cf811'
2
4713
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
4714
* def title = get response //citation/CI_Citation/title/CharacterString
0
4715
* def email = get response //electronicMailAddress/CharacterString
0
4716
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
4717
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
4718
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
4719
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
4720
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
4721
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
4722
* print organisationpath
0
06:40:05.576 [print] Ministerie van Defensie, Koninklijke Marine, Dienst der Hydrografie
4723
* print operateson
0
06:40:05.576 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=1249746f-c2a6-4639-98f2-251676b3528e&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full#MD_DataIdentification
4724
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
4725
* eval db.writeln('"5f0c583a-101e-45ea-b684-a056713cf811","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
4726
* eval db.writeln('"5f0c583a-101e-45ea-b684-a056713cf811","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.140:18]9ff1a13c-d1e0-4150-8523-91cb489ae1a4
ms: 1942
>>
Background:
4727
* url 'http://nationaalgeoregister.nl/'
1
06:39:54.462 karate.env system property was:
4728
* def mystorage = Java.type('storage.DataStorage')
1
4729
* def db = new mystorage
1
4730
* def db = db.setfeature(karate.info.featureFileName)
4
4731
* def separator = java.lang.System.getProperty("file.separator")
1
4732
* def outputpath = db.outputpath()
1
4733
* eval db.ensureDirectory(outputpath)
1
4734
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
4735
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
4736
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
4737
Given path 'geonetwork/srv/dut/inspire'
0
4738
And param service = 'CSW'
0
4739
And param version = '2.0.2'
0
4740
And param request = 'GetRecordById'
0
4741
And param id = '9ff1a13c-d1e0-4150-8523-91cb489ae1a4'
0
4742
And param elementsetname = 'full'
0
4743
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
4744
When method get
1916
4745
Then status 200
0
4746
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '9ff1a13c-d1e0-4150-8523-91cb489ae1a4'
10
4747
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
4748
* def title = get response //citation/CI_Citation/title/CharacterString
1
4749
* def email = get response //electronicMailAddress/CharacterString
1
4750
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
4751
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
4752
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
1
4753
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
4754
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
4755
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
4756
* print organisationpath
0
06:40:05.622 [print] Beheer PDOK
4757
* print operateson
1
06:40:05.622 [print] [
"https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=5a1adb58-0bbe-425d-b0fe-577a6c0a4228#MD_DataIdentification",
"https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=71c2b7d2-a1a8-4836-b8d4-7247d331b04d#MD_DataIdentification",
"https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=1462bbce-ccd3-4362-83d8-4535ca8f44eb#MD_DataIdentification",
"https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=f605a24f-60cd-4c40-94c8-2186aba3ddd0#MD_DataIdentification",
"https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=76091be7-358a-4a44-8182-b4139c96c6a4#MD_DataIdentification",
"https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=8829e5dd-c861-4639-a6c8-fdbb6e3440d2#MD_DataIdentification",
"https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=710c381c-ab2d-45d5-a45d-af2eba811e5f#MD_DataIdentification",
"https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=a9b7026e-0a81-4813-93bd-ba49e6f28502#MD_DataIdentification",
"https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=2e5f0f60-0f2f-4e17-96af-c913fe305ecb#MD_DataIdentification",
"https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=00d8c7c8-98ff-4b06-8f53-b44216e6e75c#MD_DataIdentification",
"https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=701d4eb8-8aae-4708-bba5-3edf6987676d#MD_DataIdentification",
"https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=17716ed7-ce0d-4bfd-8868-a398e5578a36#MD_DataIdentification",
"https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=29d5310f-dd0d-45ba-abad-b4ffc6b8785f#MD_DataIdentification",
"https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=831f7bd7-c2ae-4336-bd2f-47ab20d7cdb7#MD_DataIdentification",
"https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=0f297898-2640-44c2-bbe9-c0480da83794#MD_DataIdentification",
"https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=abaf1e22-55aa-4a11-a855-7ac963e4a82b#MD_DataIdentification",
"https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=07d73b60-dfd6-4c54-9c82-9fac70c6c48e#MD_DataIdentification",
"https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=d25fe199-2430-48fd-ad57-5b5f79f73cdf#MD_DataIdentification",
"https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=e536d943-ecff-4d7a-9500-cc31a263a6af#MD_DataIdentification",
"https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=bbece924-9aab-4e00-8392-bce36b8f494e#MD_DataIdentification",
"https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=c935f2ab-9b65-4dc4-94a0-73aeb840a941#MD_DataIdentification",
"https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=81ff84ec-42a4-4481-840b-12713bbb5d38#MD_DataIdentification",
"https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=af0c582f-9e6b-46e6-865a-fc3a2d5289b9#MD_DataIdentification",
"https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=3eebf700-5abf-42e4-826c-03cfb497e366#MD_DataIdentification",
"https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=9d9f1738-aced-47c9-aaa0-c62474a2dcfb#MD_DataIdentification",
"https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=8eee71f9-9365-490d-9484-00263c6fa35c#MD_DataIdentification",
"https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=4961d305-fbb5-426a-9ba3-53e1ca5f3b18#MD_DataIdentification",
"https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=2af8df10-81ba-434a-8125-34fe8f127cf9#MD_DataIdentification",
"https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=6cde2ce7-3ecd-4785-b7b8-d62c3381efe9#MD_DataIdentification",
"https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=3229e4d7-4bcd-4b94-819d-8e62de69ce2e#MD_DataIdentification",
"https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=5d0dc580-ba7a-4c3b-968b-199efd92d6cf#MD_DataIdentification",
"https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=bffcd5d9-02b4-4e7d-991f-a386611cad84#MD_DataIdentification",
"https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=effe1ab0-073d-437c-af13-df5c5e07d6cd#MD_DataIdentification"
]
4758
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
4759
* eval db.writeln('"9ff1a13c-d1e0-4150-8523-91cb489ae1a4","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
3
4760
* eval db.writeln('"9ff1a13c-d1e0-4150-8523-91cb489ae1a4","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
6
Scenario Outline: [1.141:18]25a99d92-ea8a-4163-82ab-3521c9b0c96b
ms: 2030
>>
Background:
4761
* url 'http://nationaalgeoregister.nl/'
1
06:39:54.462 karate.env system property was:
4762
* def mystorage = Java.type('storage.DataStorage')
1
4763
* def db = new mystorage
1
4764
* def db = db.setfeature(karate.info.featureFileName)
4
4765
* def separator = java.lang.System.getProperty("file.separator")
1
4766
* def outputpath = db.outputpath()
1
4767
* eval db.ensureDirectory(outputpath)
1
4768
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
4769
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
4770
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
4771
Given path 'geonetwork/srv/dut/inspire'
0
4772
And param service = 'CSW'
0
4773
And param version = '2.0.2'
0
4774
And param request = 'GetRecordById'
0
4775
And param id = '25a99d92-ea8a-4163-82ab-3521c9b0c96b'
0
4776
And param elementsetname = 'full'
0
4777
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
4778
When method get
2010
4779
Then status 200
0
4780
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '25a99d92-ea8a-4163-82ab-3521c9b0c96b'
1
4781
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
4782
* def title = get response //citation/CI_Citation/title/CharacterString
1
4783
* def email = get response //electronicMailAddress/CharacterString
1
4784
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
4785
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
1
4786
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
1
4787
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
1
4788
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
1
4789
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
4790
* print organisationpath
0
06:40:05.862 [print] Beheer PDOK
4791
* print operateson
0
06:40:05.862 [print] http://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=2d3dd6d2-2d2b-4b5f-9e30-86e19ed77a56#MD_DataIdentification
4792
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
4793
* eval db.writeln('"25a99d92-ea8a-4163-82ab-3521c9b0c96b","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
4794
* eval db.writeln('"25a99d92-ea8a-4163-82ab-3521c9b0c96b","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
10
Scenario Outline: [1.142:18]6c62e0a5-c215-4e47-94b0-a239e264417d
ms: 1793
>>
Background:
4795
* url 'http://nationaalgeoregister.nl/'
1
06:39:54.462 karate.env system property was:
4796
* def mystorage = Java.type('storage.DataStorage')
1
4797
* def db = new mystorage
1
4798
* def db = db.setfeature(karate.info.featureFileName)
4
4799
* def separator = java.lang.System.getProperty("file.separator")
1
4800
* def outputpath = db.outputpath()
1
4801
* eval db.ensureDirectory(outputpath)
1
4802
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
4803
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
4804
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
4805
Given path 'geonetwork/srv/dut/inspire'
0
4806
And param service = 'CSW'
0
4807
And param version = '2.0.2'
0
4808
And param request = 'GetRecordById'
0
4809
And param id = '6c62e0a5-c215-4e47-94b0-a239e264417d'
0
4810
And param elementsetname = 'full'
0
4811
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
4812
When method get
1771
4813
Then status 200
0
4814
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '6c62e0a5-c215-4e47-94b0-a239e264417d'
3
4815
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
2
4816
* def title = get response //citation/CI_Citation/title/CharacterString
2
4817
* def email = get response //electronicMailAddress/CharacterString
2
4818
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
2
4819
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
1
4820
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
1
4821
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
1
4822
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
1
4823
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
2
4824
* print organisationpath
0
06:40:05.759 [print] Beheer PDOK
4825
* print operateson
0
06:40:05.759 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=17716ed7-ce0d-4bfd-8868-a398e5578a36#MD_DataIdentification
4826
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
2
4827
* eval db.writeln('"6c62e0a5-c215-4e47-94b0-a239e264417d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
4828
* eval db.writeln('"6c62e0a5-c215-4e47-94b0-a239e264417d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.143:18]18bcfb8c-b73d-4e9c-8348-7ee6cd49ec79
ms: 1890
>>
Background:
4829
* url 'http://nationaalgeoregister.nl/'
1
06:39:54.462 karate.env system property was:
4830
* def mystorage = Java.type('storage.DataStorage')
1
4831
* def db = new mystorage
1
4832
* def db = db.setfeature(karate.info.featureFileName)
4
4833
* def separator = java.lang.System.getProperty("file.separator")
1
4834
* def outputpath = db.outputpath()
1
4835
* eval db.ensureDirectory(outputpath)
1
4836
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
4837
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
4838
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
4839
Given path 'geonetwork/srv/dut/inspire'
1
4840
And param service = 'CSW'
0
4841
And param version = '2.0.2'
0
4842
And param request = 'GetRecordById'
0
4843
And param id = '18bcfb8c-b73d-4e9c-8348-7ee6cd49ec79'
1
4844
And param elementsetname = 'full'
0
4845
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
4846
When method get
1872
4847
Then status 200
0
4848
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '18bcfb8c-b73d-4e9c-8348-7ee6cd49ec79'
1
4849
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
4850
* def title = get response //citation/CI_Citation/title/CharacterString
1
4851
* def email = get response //electronicMailAddress/CharacterString
1
4852
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
2
4853
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
1
4854
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
1
4855
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
1
4856
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
1
4857
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
4858
* print organisationpath
0
06:40:05.888 [print] Beheer PDOK
4859
* print operateson
0
06:40:05.889 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=8f45b8ef-0ce8-463a-9059-5efdcecb785c#MD_DataIdentification
4860
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
4861
* eval db.writeln('"18bcfb8c-b73d-4e9c-8348-7ee6cd49ec79","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
4862
* eval db.writeln('"18bcfb8c-b73d-4e9c-8348-7ee6cd49ec79","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
3
Scenario Outline: [1.144:18]ec73f245-66ce-4144-ac27-5966c80a4b3a
ms: 2024
>>
Background:
4863
* url 'http://nationaalgeoregister.nl/'
1
06:39:54.462 karate.env system property was:
4864
* def mystorage = Java.type('storage.DataStorage')
1
4865
* def db = new mystorage
1
4866
* def db = db.setfeature(karate.info.featureFileName)
4
4867
* def separator = java.lang.System.getProperty("file.separator")
1
4868
* def outputpath = db.outputpath()
1
4869
* eval db.ensureDirectory(outputpath)
1
4870
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
4871
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
4872
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
4873
Given path 'geonetwork/srv/dut/inspire'
0
4874
And param service = 'CSW'
0
4875
And param version = '2.0.2'
0
4876
And param request = 'GetRecordById'
0
4877
And param id = 'ec73f245-66ce-4144-ac27-5966c80a4b3a'
0
4878
And param elementsetname = 'full'
0
4879
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
4880
When method get
1994
4881
Then status 200
0
4882
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'ec73f245-66ce-4144-ac27-5966c80a4b3a'
1
4883
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
4884
* def title = get response //citation/CI_Citation/title/CharacterString
1
4885
* def email = get response //electronicMailAddress/CharacterString
1
4886
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
4887
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
4888
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
1
4889
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
1
4890
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
4891
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
9
4892
* print organisationpath
0
06:40:06.045 [print] Beheer PDOK
4893
* print operateson
0
06:40:06.045 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=5951efa2-1ff3-4763-a966-a2f5497679ee#MD_DataIdentification
4894
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
4895
* eval db.writeln('"ec73f245-66ce-4144-ac27-5966c80a4b3a","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
11
4896
* eval db.writeln('"ec73f245-66ce-4144-ac27-5966c80a4b3a","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.145:18]224d93f6-0e4e-41fe-8424-1ab11a6c55ed
ms: 1815
>>
Background:
4897
* url 'http://nationaalgeoregister.nl/'
1
06:39:54.462 karate.env system property was:
4898
* def mystorage = Java.type('storage.DataStorage')
1
4899
* def db = new mystorage
1
4900
* def db = db.setfeature(karate.info.featureFileName)
4
4901
* def separator = java.lang.System.getProperty("file.separator")
1
4902
* def outputpath = db.outputpath()
1
4903
* eval db.ensureDirectory(outputpath)
1
4904
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
4905
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
4906
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
4907
Given path 'geonetwork/srv/dut/inspire'
0
4908
And param service = 'CSW'
0
4909
And param version = '2.0.2'
0
4910
And param request = 'GetRecordById'
1
4911
And param id = '224d93f6-0e4e-41fe-8424-1ab11a6c55ed'
0
4912
And param elementsetname = 'full'
0
4913
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
4914
When method get
1800
4915
Then status 200
0
4916
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '224d93f6-0e4e-41fe-8424-1ab11a6c55ed'
2
4917
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
4918
* def title = get response //citation/CI_Citation/title/CharacterString
1
4919
* def email = get response //electronicMailAddress/CharacterString
1
4920
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
4921
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
1
4922
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
1
4923
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
1
4924
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
1
4925
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
4926
* print organisationpath
1
06:40:06.010 [print]
4927
* print operateson
0
06:40:06.010 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=36a7e8cb-8300-4602-93d2-135943365a6f#MD_DataIdentification
4928
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
4929
* eval db.writeln('"224d93f6-0e4e-41fe-8424-1ab11a6c55ed","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
4930
* eval db.writeln('"224d93f6-0e4e-41fe-8424-1ab11a6c55ed","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.146:18]7e87a655-c4eb-404d-9d0a-efa2dccef7cc
ms: 1763
>>
Background:
4931
* url 'http://nationaalgeoregister.nl/'
1
06:39:54.462 karate.env system property was:
4932
* def mystorage = Java.type('storage.DataStorage')
1
4933
* def db = new mystorage
1
4934
* def db = db.setfeature(karate.info.featureFileName)
4
4935
* def separator = java.lang.System.getProperty("file.separator")
1
4936
* def outputpath = db.outputpath()
1
4937
* eval db.ensureDirectory(outputpath)
1
4938
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
4939
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
4940
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
4941
Given path 'geonetwork/srv/dut/inspire'
0
4942
And param service = 'CSW'
0
4943
And param version = '2.0.2'
0
4944
And param request = 'GetRecordById'
0
4945
And param id = '7e87a655-c4eb-404d-9d0a-efa2dccef7cc'
0
4946
And param elementsetname = 'full'
0
4947
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
4948
When method get
1749
4949
Then status 200
0
4950
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '7e87a655-c4eb-404d-9d0a-efa2dccef7cc'
1
4951
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
4952
* def title = get response //citation/CI_Citation/title/CharacterString
1
4953
* def email = get response //electronicMailAddress/CharacterString
1
4954
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
4955
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
4956
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
4957
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
4958
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
4959
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
4960
* print organisationpath
0
06:40:06.063 [print] Beheer PDOK
4961
* print operateson
0
06:40:06.063 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=1a40eb6f-4f33-4e15-a0b1-2d350ad2636e#MD_DataIdentification
4962
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
4963
* eval db.writeln('"7e87a655-c4eb-404d-9d0a-efa2dccef7cc","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
3
4964
* eval db.writeln('"7e87a655-c4eb-404d-9d0a-efa2dccef7cc","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
3
Scenario Outline: [1.147:18]77971fa3-f869-4726-969a-482e0b1a8c5d
ms: 1744
>>
Background:
4965
* url 'http://nationaalgeoregister.nl/'
1
06:39:54.462 karate.env system property was:
4966
* def mystorage = Java.type('storage.DataStorage')
1
4967
* def db = new mystorage
1
4968
* def db = db.setfeature(karate.info.featureFileName)
4
4969
* def separator = java.lang.System.getProperty("file.separator")
1
4970
* def outputpath = db.outputpath()
1
4971
* eval db.ensureDirectory(outputpath)
1
4972
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
4973
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
4974
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
4975
Given path 'geonetwork/srv/dut/inspire'
0
4976
And param service = 'CSW'
0
4977
And param version = '2.0.2'
0
4978
And param request = 'GetRecordById'
0
4979
And param id = '77971fa3-f869-4726-969a-482e0b1a8c5d'
0
4980
And param elementsetname = 'full'
0
4981
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
4982
When method get
1733
4983
Then status 200
0
4984
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '77971fa3-f869-4726-969a-482e0b1a8c5d'
1
4985
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
4986
* def title = get response //citation/CI_Citation/title/CharacterString
0
4987
* def email = get response //electronicMailAddress/CharacterString
0
4988
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
4989
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
4990
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
4991
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
4992
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
4993
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
4994
* print organisationpath
0
06:40:06.041 [print] TNO Geologische Dienst Nederland
4995
* print operateson
0
06:40:06.041 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&ID=80630ee7-3a15-4ea0-bdc0-a8aebfa2f204&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full#MD_DataIdentification
4996
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
4997
* eval db.writeln('"77971fa3-f869-4726-969a-482e0b1a8c5d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
4998
* eval db.writeln('"77971fa3-f869-4726-969a-482e0b1a8c5d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
3
Scenario Outline: [1.148:18]d69fee4a-e3ff-47d4-919d-e55276a3fad9
ms: 1925
>>
Background:
4999
* url 'http://nationaalgeoregister.nl/'
1
06:39:54.462 karate.env system property was:
5000
* def mystorage = Java.type('storage.DataStorage')
1
5001
* def db = new mystorage
1
5002
* def db = db.setfeature(karate.info.featureFileName)
4
5003
* def separator = java.lang.System.getProperty("file.separator")
1
5004
* def outputpath = db.outputpath()
1
5005
* eval db.ensureDirectory(outputpath)
1
5006
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
5007
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
5008
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
5009
Given path 'geonetwork/srv/dut/inspire'
0
5010
And param service = 'CSW'
0
5011
And param version = '2.0.2'
0
5012
And param request = 'GetRecordById'
0
5013
And param id = 'd69fee4a-e3ff-47d4-919d-e55276a3fad9'
0
5014
And param elementsetname = 'full'
0
5015
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
5016
When method get
1913
5017
Then status 200
0
5018
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'd69fee4a-e3ff-47d4-919d-e55276a3fad9'
1
5019
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
5020
* def title = get response //citation/CI_Citation/title/CharacterString
1
5021
* def email = get response //electronicMailAddress/CharacterString
0
5022
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
5023
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
5024
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
5025
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
5026
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
5027
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
5028
* print organisationpath
0
06:40:06.246 [print] Beheer PDOK
5029
* print operateson
0
06:40:06.246 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=31de946d-85d4-4c93-bb97-e25f4ef1401a#MD_DataIdentification
5030
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
5031
* eval db.writeln('"d69fee4a-e3ff-47d4-919d-e55276a3fad9","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
5032
* eval db.writeln('"d69fee4a-e3ff-47d4-919d-e55276a3fad9","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
3
Scenario Outline: [1.149:18]97b49056-8ace-426c-ae3e-bf7efe4c000f
ms: 1981
>>
Background:
5033
* url 'http://nationaalgeoregister.nl/'
1
06:39:54.462 karate.env system property was:
5034
* def mystorage = Java.type('storage.DataStorage')
1
5035
* def db = new mystorage
1
5036
* def db = db.setfeature(karate.info.featureFileName)
4
5037
* def separator = java.lang.System.getProperty("file.separator")
1
5038
* def outputpath = db.outputpath()
1
5039
* eval db.ensureDirectory(outputpath)
1
5040
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
5041
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
5042
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
5043
Given path 'geonetwork/srv/dut/inspire'
1
5044
And param service = 'CSW'
0
5045
And param version = '2.0.2'
0
5046
And param request = 'GetRecordById'
0
5047
And param id = '97b49056-8ace-426c-ae3e-bf7efe4c000f'
0
5048
And param elementsetname = 'full'
0
5049
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
5050
When method get
1970
5051
Then status 200
0
5052
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '97b49056-8ace-426c-ae3e-bf7efe4c000f'
2
5053
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
5054
* def title = get response //citation/CI_Citation/title/CharacterString
1
5055
* def email = get response //electronicMailAddress/CharacterString
1
5056
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
5057
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
5058
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
5059
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
5060
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
5061
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
5062
* print organisationpath
0
06:40:06.383 [print] Ministerie van Defensie, Koninklijke Marine, Dienst der Hydrografie
5063
* print operateson
0
06:40:06.384 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=1249746f-c2a6-4639-98f2-251676b3528e&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full#MD_DataIdentification
5064
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
5065
* eval db.writeln('"97b49056-8ace-426c-ae3e-bf7efe4c000f","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
5066
* eval db.writeln('"97b49056-8ace-426c-ae3e-bf7efe4c000f","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.150:18]e264c1e4-90fe-4968-bbf2-7019f6095348
ms: 1810
>>
Background:
5067
* url 'http://nationaalgeoregister.nl/'
1
06:39:54.462 karate.env system property was:
5068
* def mystorage = Java.type('storage.DataStorage')
1
5069
* def db = new mystorage
1
5070
* def db = db.setfeature(karate.info.featureFileName)
4
5071
* def separator = java.lang.System.getProperty("file.separator")
1
5072
* def outputpath = db.outputpath()
1
5073
* eval db.ensureDirectory(outputpath)
1
5074
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
5075
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
5076
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
5077
Given path 'geonetwork/srv/dut/inspire'
1
5078
And param service = 'CSW'
0
5079
And param version = '2.0.2'
0
5080
And param request = 'GetRecordById'
0
5081
And param id = 'e264c1e4-90fe-4968-bbf2-7019f6095348'
1
5082
And param elementsetname = 'full'
0
5083
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
5084
When method get
1767
5085
Then status 200
0
5086
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'e264c1e4-90fe-4968-bbf2-7019f6095348'
3
5087
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
5088
* def title = get response //citation/CI_Citation/title/CharacterString
0
5089
* def email = get response //electronicMailAddress/CharacterString
0
5090
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
5091
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
5092
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
5093
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
5094
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
5095
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
5096
* print organisationpath
0
06:40:06.449 [print] Beheer PDOK
5097
* print operateson
18
06:40:06.468 [print] [
"https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=c3c004ad-5387-4b00-a225-9afbcaa5d31b#MD_DataIdentification",
"https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=c3c004ad-5387-4b00-a225-9afbcaa5d31b#MD_DataIdentification",
"https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=c3c004ad-5387-4b00-a225-9afbcaa5d31b#MD_DataIdentification"
]
5098
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
5099
* eval db.writeln('"e264c1e4-90fe-4968-bbf2-7019f6095348","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
7
5100
* eval db.writeln('"e264c1e4-90fe-4968-bbf2-7019f6095348","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
9
Scenario Outline: [1.151:18]a301ddc7-c26f-42d8-b367-509ae5ae47d0
ms: 1795
>>
Background:
5101
* url 'http://nationaalgeoregister.nl/'
1
06:39:54.462 karate.env system property was:
5102
* def mystorage = Java.type('storage.DataStorage')
1
5103
* def db = new mystorage
1
5104
* def db = db.setfeature(karate.info.featureFileName)
4
5105
* def separator = java.lang.System.getProperty("file.separator")
1
5106
* def outputpath = db.outputpath()
1
5107
* eval db.ensureDirectory(outputpath)
1
5108
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
5109
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
5110
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
5111
Given path 'geonetwork/srv/dut/inspire'
1
5112
And param service = 'CSW'
0
5113
And param version = '2.0.2'
0
5114
And param request = 'GetRecordById'
0
5115
And param id = 'a301ddc7-c26f-42d8-b367-509ae5ae47d0'
1
5116
And param elementsetname = 'full'
0
5117
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
5118
When method get
1774
5119
Then status 200
0
5120
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'a301ddc7-c26f-42d8-b367-509ae5ae47d0'
4
5121
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
5122
* def title = get response //citation/CI_Citation/title/CharacterString
0
5123
* def email = get response //electronicMailAddress/CharacterString
0
5124
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
5125
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
5126
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
5127
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
5128
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
7
5129
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
5130
* print organisationpath
0
06:40:06.483 [print] Beheer PDOK
5131
* print operateson
0
06:40:06.483 [print] [
"https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=74aca3eb-c38b-4214-9537-e0abc69e11b5#MD_DataIdentification",
"https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=5b274449-b6c2-4672-a32f-e0bd40975a53#MD_DataIdentification",
"https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=df15af6e-0d21-4437-a69f-802be3479bba#MD_DataIdentification",
"https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=64ff8561-5c56-4cc1-ae0e-94366fb70b7e#MD_DataIdentification"
]
5132
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
5133
* eval db.writeln('"a301ddc7-c26f-42d8-b367-509ae5ae47d0","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
5134
* eval db.writeln('"a301ddc7-c26f-42d8-b367-509ae5ae47d0","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.152:18]03c39474-aef9-4169-95da-9890af440b14
ms: 1824
>>
Background:
5135
* url 'http://nationaalgeoregister.nl/'
1
06:39:54.462 karate.env system property was:
5136
* def mystorage = Java.type('storage.DataStorage')
1
5137
* def db = new mystorage
1
5138
* def db = db.setfeature(karate.info.featureFileName)
4
5139
* def separator = java.lang.System.getProperty("file.separator")
1
5140
* def outputpath = db.outputpath()
1
5141
* eval db.ensureDirectory(outputpath)
1
5142
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
5143
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
5144
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
5145
Given path 'geonetwork/srv/dut/inspire'
1
5146
And param service = 'CSW'
0
5147
And param version = '2.0.2'
0
5148
And param request = 'GetRecordById'
0
5149
And param id = '03c39474-aef9-4169-95da-9890af440b14'
1
5150
And param elementsetname = 'full'
0
5151
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
5152
When method get
1803
5153
Then status 200
0
5154
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '03c39474-aef9-4169-95da-9890af440b14'
1
5155
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
5156
* def title = get response //citation/CI_Citation/title/CharacterString
0
5157
* def email = get response //electronicMailAddress/CharacterString
0
5158
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
5159
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
5160
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
5161
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
5162
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
5163
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
5164
* print organisationpath
0
06:40:06.558 [print]
5165
* print operateson
0
06:40:06.558 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=08b27bf0-e34a-4b30-9eac-5edadfb6a288#MD_DataIdentification
5166
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
5167
* eval db.writeln('"03c39474-aef9-4169-95da-9890af440b14","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
5
5168
* eval db.writeln('"03c39474-aef9-4169-95da-9890af440b14","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
9
Scenario Outline: [1.153:18]b4485d59-a945-4940-a2f5-3ce7de6a947b
ms: 1668
>>
Background:
5169
* url 'http://nationaalgeoregister.nl/'
1
06:39:54.462 karate.env system property was:
5170
* def mystorage = Java.type('storage.DataStorage')
1
5171
* def db = new mystorage
1
5172
* def db = db.setfeature(karate.info.featureFileName)
4
5173
* def separator = java.lang.System.getProperty("file.separator")
1
5174
* def outputpath = db.outputpath()
1
5175
* eval db.ensureDirectory(outputpath)
1
5176
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
5177
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
5178
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
5179
Given path 'geonetwork/srv/dut/inspire'
5
5180
And param service = 'CSW'
0
5181
And param version = '2.0.2'
0
5182
And param request = 'GetRecordById'
0
5183
And param id = 'b4485d59-a945-4940-a2f5-3ce7de6a947b'
0
5184
And param elementsetname = 'full'
0
5185
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
5186
When method get
1654
5187
Then status 200
0
5188
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'b4485d59-a945-4940-a2f5-3ce7de6a947b'
1
5189
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
5190
* def title = get response //citation/CI_Citation/title/CharacterString
0
5191
* def email = get response //electronicMailAddress/CharacterString
0
5192
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
5193
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
5194
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
5195
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
5196
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
5197
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
5198
* print organisationpath
0
06:40:06.440 [print]
5199
* print operateson
0
06:40:06.441 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=b3f66964-a8c1-456f-9799-9cafca2cb7b1#MD_DataIdentification
5200
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
5201
* eval db.writeln('"b4485d59-a945-4940-a2f5-3ce7de6a947b","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
5202
* eval db.writeln('"b4485d59-a945-4940-a2f5-3ce7de6a947b","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.154:18]89b35a6c-c099-456b-8eaf-2b83c7a35c74
ms: 1827
>>
Background:
5203
* url 'http://nationaalgeoregister.nl/'
1
06:39:54.462 karate.env system property was:
5204
* def mystorage = Java.type('storage.DataStorage')
1
5205
* def db = new mystorage
1
5206
* def db = db.setfeature(karate.info.featureFileName)
4
5207
* def separator = java.lang.System.getProperty("file.separator")
1
5208
* def outputpath = db.outputpath()
1
5209
* eval db.ensureDirectory(outputpath)
1
5210
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
5211
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
5212
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
5213
Given path 'geonetwork/srv/dut/inspire'
0
5214
And param service = 'CSW'
0
5215
And param version = '2.0.2'
0
5216
And param request = 'GetRecordById'
0
5217
And param id = '89b35a6c-c099-456b-8eaf-2b83c7a35c74'
1
5218
And param elementsetname = 'full'
0
5219
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
5220
When method get
1808
5221
Then status 200
0
5222
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '89b35a6c-c099-456b-8eaf-2b83c7a35c74'
1
5223
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
5224
* def title = get response //citation/CI_Citation/title/CharacterString
0
5225
* def email = get response //electronicMailAddress/CharacterString
1
5226
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
5227
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
5228
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
5229
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
5230
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
5231
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
5232
* print organisationpath
0
06:40:06.593 [print] Beheer PDOK
5233
* print operateson
0
06:40:06.593 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=247a1d15-0a67-40ce-85be-1403c08f15a8#MD_DataIdentification
5234
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
5235
* eval db.writeln('"89b35a6c-c099-456b-8eaf-2b83c7a35c74","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
5236
* eval db.writeln('"89b35a6c-c099-456b-8eaf-2b83c7a35c74","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
10
Scenario Outline: [1.155:18]82541a1f-2e4e-459f-ab2f-e97cac3ad040
ms: 1954
>>
Background:
5237
* url 'http://nationaalgeoregister.nl/'
1
06:39:54.462 karate.env system property was:
5238
* def mystorage = Java.type('storage.DataStorage')
1
5239
* def db = new mystorage
1
5240
* def db = db.setfeature(karate.info.featureFileName)
4
5241
* def separator = java.lang.System.getProperty("file.separator")
1
5242
* def outputpath = db.outputpath()
1
5243
* eval db.ensureDirectory(outputpath)
1
5244
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
5245
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
5246
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
5247
Given path 'geonetwork/srv/dut/inspire'
0
5248
And param service = 'CSW'
0
5249
And param version = '2.0.2'
0
5250
And param request = 'GetRecordById'
0
5251
And param id = '82541a1f-2e4e-459f-ab2f-e97cac3ad040'
0
5252
And param elementsetname = 'full'
0
5253
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
5254
When method get
1901
5255
Then status 200
0
5256
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '82541a1f-2e4e-459f-ab2f-e97cac3ad040'
16
5257
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
13
5258
* def title = get response //citation/CI_Citation/title/CharacterString
2
5259
* def email = get response //electronicMailAddress/CharacterString
6
5260
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
2
5261
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
1
5262
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
1
5263
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
1
5264
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
2
5265
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
2
5266
* print organisationpath
0
06:40:06.866 [print] Beheer PDOK
5267
* print operateson
1
06:40:06.866 [print] http://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=03671a9e-6aaf-464d-be99-9aad25cef9e3#MD_DataIdentification
5268
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
2
5269
* eval db.writeln('"82541a1f-2e4e-459f-ab2f-e97cac3ad040","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
5270
* eval db.writeln('"82541a1f-2e4e-459f-ab2f-e97cac3ad040","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.156:18]1fa220c2-5f2e-4943-a57e-c291cc35084b
ms: 1694
>>
Background:
5271
* url 'http://nationaalgeoregister.nl/'
1
06:39:54.462 karate.env system property was:
5272
* def mystorage = Java.type('storage.DataStorage')
1
5273
* def db = new mystorage
1
5274
* def db = db.setfeature(karate.info.featureFileName)
4
5275
* def separator = java.lang.System.getProperty("file.separator")
1
5276
* def outputpath = db.outputpath()
1
5277
* eval db.ensureDirectory(outputpath)
1
5278
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
5279
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
5280
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
5281
Given path 'geonetwork/srv/dut/inspire'
0
5282
And param service = 'CSW'
0
5283
And param version = '2.0.2'
0
5284
And param request = 'GetRecordById'
0
5285
And param id = '1fa220c2-5f2e-4943-a57e-c291cc35084b'
1
5286
And param elementsetname = 'full'
0
5287
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
5288
When method get
1594
5289
Then status 200
0
5290
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '1fa220c2-5f2e-4943-a57e-c291cc35084b'
3
5291
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
3
5292
* def title = get response //citation/CI_Citation/title/CharacterString
3
5293
* def email = get response //electronicMailAddress/CharacterString
3
5294
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
3
5295
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
2
5296
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
2
5297
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
3
5298
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
2
5299
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
53
5300
* print organisationpath
0
06:40:06.815 [print] Beheer PDOK
5301
* print operateson
0
06:40:06.815 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=f273941e-9c3b-43bc-b886-2d50d0bf9348#MD_DataIdentification
5302
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
15
5303
* eval db.writeln('"1fa220c2-5f2e-4943-a57e-c291cc35084b","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
5304
* eval db.writeln('"1fa220c2-5f2e-4943-a57e-c291cc35084b","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
8
Scenario Outline: [1.157:18]73286af2-d0f4-4a62-9455-86ffa45ef279
ms: 1679
>>
Background:
5305
* url 'http://nationaalgeoregister.nl/'
1
06:39:54.462 karate.env system property was:
5306
* def mystorage = Java.type('storage.DataStorage')
1
5307
* def db = new mystorage
1
5308
* def db = db.setfeature(karate.info.featureFileName)
4
5309
* def separator = java.lang.System.getProperty("file.separator")
1
5310
* def outputpath = db.outputpath()
1
5311
* eval db.ensureDirectory(outputpath)
1
5312
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
5313
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
5314
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
5315
Given path 'geonetwork/srv/dut/inspire'
0
5316
And param service = 'CSW'
0
5317
And param version = '2.0.2'
0
5318
And param request = 'GetRecordById'
0
5319
And param id = '73286af2-d0f4-4a62-9455-86ffa45ef279'
0
5320
And param elementsetname = 'full'
0
5321
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
5322
When method get
1646
5323
Then status 200
0
5324
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '73286af2-d0f4-4a62-9455-86ffa45ef279'
1
5325
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
5326
* def title = get response //citation/CI_Citation/title/CharacterString
0
5327
* def email = get response //electronicMailAddress/CharacterString
0
5328
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
9
5329
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
4
5330
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
5331
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
5332
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
5333
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
5334
* print organisationpath
3
06:40:06.840 [print] TNO Geologische Dienst Nederland
5335
* print operateson
0
06:40:06.841 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&ID=e3b0da1e-0664-4025-b3f5-a54d74a26450&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full#MD_DataIdentification
5336
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
5337
* eval db.writeln('"73286af2-d0f4-4a62-9455-86ffa45ef279","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
5338
* eval db.writeln('"73286af2-d0f4-4a62-9455-86ffa45ef279","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
11
Scenario Outline: [1.158:18]f76bdce5-344e-415f-8f2c-972755e80b65
ms: 1806
>>
Background:
5339
* url 'http://nationaalgeoregister.nl/'
1
06:39:54.462 karate.env system property was:
5340
* def mystorage = Java.type('storage.DataStorage')
1
5341
* def db = new mystorage
1
5342
* def db = db.setfeature(karate.info.featureFileName)
4
5343
* def separator = java.lang.System.getProperty("file.separator")
1
5344
* def outputpath = db.outputpath()
1
5345
* eval db.ensureDirectory(outputpath)
1
5346
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
5347
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
5348
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
5349
Given path 'geonetwork/srv/dut/inspire'
0
5350
And param service = 'CSW'
0
5351
And param version = '2.0.2'
0
5352
And param request = 'GetRecordById'
0
5353
And param id = 'f76bdce5-344e-415f-8f2c-972755e80b65'
0
5354
And param elementsetname = 'full'
0
5355
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
5356
When method get
1796
5357
Then status 200
0
5358
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'f76bdce5-344e-415f-8f2c-972755e80b65'
1
5359
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
5360
* def title = get response //citation/CI_Citation/title/CharacterString
0
5361
* def email = get response //electronicMailAddress/CharacterString
0
5362
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
2
5363
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
5364
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
5365
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
5366
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
5367
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
5368
* print organisationpath
0
06:40:06.996 [print] Beheer PDOK
5369
* print operateson
0
06:40:06.996 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=4783ea4f-6b8c-4600-8af0-516f3556cfe9#MD_DataIdentification
5370
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
5371
* eval db.writeln('"f76bdce5-344e-415f-8f2c-972755e80b65","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
5372
* eval db.writeln('"f76bdce5-344e-415f-8f2c-972755e80b65","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.159:18]1601e160-91e8-4091-9aca-10294f819d42
ms: 1771
>>
Background:
5373
* url 'http://nationaalgeoregister.nl/'
1
06:39:54.462 karate.env system property was:
5374
* def mystorage = Java.type('storage.DataStorage')
1
5375
* def db = new mystorage
1
5376
* def db = db.setfeature(karate.info.featureFileName)
4
5377
* def separator = java.lang.System.getProperty("file.separator")
1
5378
* def outputpath = db.outputpath()
1
5379
* eval db.ensureDirectory(outputpath)
1
5380
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
5381
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
5382
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
5383
Given path 'geonetwork/srv/dut/inspire'
0
5384
And param service = 'CSW'
0
5385
And param version = '2.0.2'
0
5386
And param request = 'GetRecordById'
0
5387
And param id = '1601e160-91e8-4091-9aca-10294f819d42'
0
5388
And param elementsetname = 'full'
0
5389
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
5390
When method get
1760
5391
Then status 200
0
5392
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '1601e160-91e8-4091-9aca-10294f819d42'
2
5393
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
5394
* def title = get response //citation/CI_Citation/title/CharacterString
1
5395
* def email = get response //electronicMailAddress/CharacterString
0
5396
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
5397
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
5398
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
5399
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
5400
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
5401
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
5402
* print organisationpath
0
06:40:06.963 [print] Beheer PDOK
5403
* print operateson
0
06:40:06.963 [print] http://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=280ed37a-b8d2-4ac5-8567-04d84fad3a41#MD_DataIdentification
5404
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
5405
* eval db.writeln('"1601e160-91e8-4091-9aca-10294f819d42","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
5406
* eval db.writeln('"1601e160-91e8-4091-9aca-10294f819d42","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.160:18]7dc30aed-0940-4e69-b34c-9f24b34078eb
ms: 1647
>>
Background:
5407
* url 'http://nationaalgeoregister.nl/'
1
06:39:54.462 karate.env system property was:
5408
* def mystorage = Java.type('storage.DataStorage')
1
5409
* def db = new mystorage
1
5410
* def db = db.setfeature(karate.info.featureFileName)
4
5411
* def separator = java.lang.System.getProperty("file.separator")
1
5412
* def outputpath = db.outputpath()
1
5413
* eval db.ensureDirectory(outputpath)
1
5414
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
5415
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
5416
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
5417
Given path 'geonetwork/srv/dut/inspire'
0
5418
And param service = 'CSW'
0
5419
And param version = '2.0.2'
0
5420
And param request = 'GetRecordById'
0
5421
And param id = '7dc30aed-0940-4e69-b34c-9f24b34078eb'
0
5422
And param elementsetname = 'full'
0
5423
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
5424
When method get
1631
5425
Then status 200
0
5426
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '7dc30aed-0940-4e69-b34c-9f24b34078eb'
3
5427
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
5428
* def title = get response //citation/CI_Citation/title/CharacterString
0
5429
* def email = get response //electronicMailAddress/CharacterString
0
5430
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
5431
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
5432
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
5433
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
5434
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
5435
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
5436
* print organisationpath
0
06:40:06.977 [print]
5437
* print operateson
0
06:40:06.977 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=f8d840bc-18df-4449-b797-b9adcb81d3ec#MD_DataIdentification
5438
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
5439
* eval db.writeln('"7dc30aed-0940-4e69-b34c-9f24b34078eb","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
5440
* eval db.writeln('"7dc30aed-0940-4e69-b34c-9f24b34078eb","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
6
Scenario Outline: [1.161:18]c78a99eb-9ba3-4307-a21b-2a64ad5da039
ms: 1500
>>
Background:
5441
* url 'http://nationaalgeoregister.nl/'
1
06:39:54.462 karate.env system property was:
5442
* def mystorage = Java.type('storage.DataStorage')
1
5443
* def db = new mystorage
1
5444
* def db = db.setfeature(karate.info.featureFileName)
4
5445
* def separator = java.lang.System.getProperty("file.separator")
1
5446
* def outputpath = db.outputpath()
1
5447
* eval db.ensureDirectory(outputpath)
1
5448
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
5449
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
5450
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
5451
Given path 'geonetwork/srv/dut/inspire'
1
5452
And param service = 'CSW'
0
5453
And param version = '2.0.2'
0
5454
And param request = 'GetRecordById'
0
5455
And param id = 'c78a99eb-9ba3-4307-a21b-2a64ad5da039'
2
5456
And param elementsetname = 'full'
0
5457
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
5458
When method get
1467
5459
Then status 200
0
5460
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'c78a99eb-9ba3-4307-a21b-2a64ad5da039'
13
5461
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
5462
* def title = get response //citation/CI_Citation/title/CharacterString
0
5463
* def email = get response //electronicMailAddress/CharacterString
0
5464
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
5465
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
5466
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
5467
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
5468
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
5469
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
5470
* print organisationpath
4
06:40:06.992 [print] Beheer PDOK
5471
* print operateson
0
06:40:06.992 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=a04afee4-47d5-45b7-b7a0-a6f86106af11#MD_DataIdentification
5472
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
5473
* eval db.writeln('"c78a99eb-9ba3-4307-a21b-2a64ad5da039","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
7
5474
* eval db.writeln('"c78a99eb-9ba3-4307-a21b-2a64ad5da039","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.162:18]5dfccef3-9b52-47f2-bb02-66b74aaf3af8
ms: 1566
>>
Background:
5475
* url 'http://nationaalgeoregister.nl/'
1
06:39:54.462 karate.env system property was:
5476
* def mystorage = Java.type('storage.DataStorage')
1
5477
* def db = new mystorage
1
5478
* def db = db.setfeature(karate.info.featureFileName)
4
5479
* def separator = java.lang.System.getProperty("file.separator")
1
5480
* def outputpath = db.outputpath()
1
5481
* eval db.ensureDirectory(outputpath)
1
5482
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
5483
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
5484
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
5485
Given path 'geonetwork/srv/dut/inspire'
1
5486
And param service = 'CSW'
0
5487
And param version = '2.0.2'
0
5488
And param request = 'GetRecordById'
0
5489
And param id = '5dfccef3-9b52-47f2-bb02-66b74aaf3af8'
0
5490
And param elementsetname = 'full'
0
5491
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
5492
When method get
1553
5493
Then status 200
0
5494
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '5dfccef3-9b52-47f2-bb02-66b74aaf3af8'
2
5495
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
5496
* def title = get response //citation/CI_Citation/title/CharacterString
1
5497
* def email = get response //electronicMailAddress/CharacterString
1
5498
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
5499
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
1
5500
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
1
5501
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
1
5502
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
5503
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
5504
* print organisationpath
0
06:40:07.142 [print] Ministerie van Defensie, Koninklijke Marine, Dienst der Hydrografie
5505
* print operateson
0
06:40:07.142 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=4d514a2b-4a7e-4686-b9ea-87cb3e17ed52&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full#MD_DataIdentification
5506
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
5507
* eval db.writeln('"5dfccef3-9b52-47f2-bb02-66b74aaf3af8","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
5508
* eval db.writeln('"5dfccef3-9b52-47f2-bb02-66b74aaf3af8","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.163:18]ff9315c8-f25a-4d01-9245-5cf058314ebf
ms: 1542
>>
Background:
5509
* url 'http://nationaalgeoregister.nl/'
1
06:39:54.462 karate.env system property was:
5510
* def mystorage = Java.type('storage.DataStorage')
1
5511
* def db = new mystorage
1
5512
* def db = db.setfeature(karate.info.featureFileName)
4
5513
* def separator = java.lang.System.getProperty("file.separator")
1
5514
* def outputpath = db.outputpath()
1
5515
* eval db.ensureDirectory(outputpath)
1
5516
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
5517
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
5518
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
5519
Given path 'geonetwork/srv/dut/inspire'
1
5520
And param service = 'CSW'
0
5521
And param version = '2.0.2'
0
5522
And param request = 'GetRecordById'
0
5523
And param id = 'ff9315c8-f25a-4d01-9245-5cf058314ebf'
1
5524
And param elementsetname = 'full'
0
5525
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
5526
When method get
1533
5527
Then status 200
0
5528
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'ff9315c8-f25a-4d01-9245-5cf058314ebf'
1
5529
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
5530
* def title = get response //citation/CI_Citation/title/CharacterString
0
5531
* def email = get response //electronicMailAddress/CharacterString
0
5532
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
5533
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
5534
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
5535
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
5536
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
5537
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
5538
* print organisationpath
0
06:40:07.171 [print] Beheer PDOK
5539
* print operateson
0
06:40:07.171 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/csw?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&ID=a29917b9-3426-4041-a11b-69bcb2256904&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full#MD_DataIdentification
5540
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
5541
* eval db.writeln('"ff9315c8-f25a-4d01-9245-5cf058314ebf","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
5542
* eval db.writeln('"ff9315c8-f25a-4d01-9245-5cf058314ebf","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.164:18]a7aeddf2-3b37-4668-9c75-de93d9326276
ms: 1513
>>
Background:
5543
* url 'http://nationaalgeoregister.nl/'
1
06:39:54.462 karate.env system property was:
5544
* def mystorage = Java.type('storage.DataStorage')
1
5545
* def db = new mystorage
1
5546
* def db = db.setfeature(karate.info.featureFileName)
4
5547
* def separator = java.lang.System.getProperty("file.separator")
1
5548
* def outputpath = db.outputpath()
1
5549
* eval db.ensureDirectory(outputpath)
1
5550
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
5551
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
5552
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
5553
Given path 'geonetwork/srv/dut/inspire'
0
5554
And param service = 'CSW'
0
5555
And param version = '2.0.2'
0
5556
And param request = 'GetRecordById'
0
5557
And param id = 'a7aeddf2-3b37-4668-9c75-de93d9326276'
0
5558
And param elementsetname = 'full'
0
5559
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
5560
When method get
1501
5561
Then status 200
0
5562
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'a7aeddf2-3b37-4668-9c75-de93d9326276'
2
5563
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
5564
* def title = get response //citation/CI_Citation/title/CharacterString
1
5565
* def email = get response //electronicMailAddress/CharacterString
1
5566
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
5567
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
1
5568
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
1
5569
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
5570
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
5571
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
5572
* print organisationpath
0
06:40:07.274 [print] Beheer PDOK
5573
* print operateson
0
06:40:07.274 [print] http://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=280ed37a-b8d2-4ac5-8567-04d84fad3a41#MD_DataIdentification
5574
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
5575
* eval db.writeln('"a7aeddf2-3b37-4668-9c75-de93d9326276","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
5576
* eval db.writeln('"a7aeddf2-3b37-4668-9c75-de93d9326276","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.165:18]dcb7f0d7-d70b-4eab-9a46-7af98de860bd
ms: 1481
>>
Background:
5577
* url 'http://nationaalgeoregister.nl/'
1
06:39:54.462 karate.env system property was:
5578
* def mystorage = Java.type('storage.DataStorage')
1
5579
* def db = new mystorage
1
5580
* def db = db.setfeature(karate.info.featureFileName)
4
5581
* def separator = java.lang.System.getProperty("file.separator")
1
5582
* def outputpath = db.outputpath()
1
5583
* eval db.ensureDirectory(outputpath)
1
5584
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
5585
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
5586
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
5587
Given path 'geonetwork/srv/dut/inspire'
0
5588
And param service = 'CSW'
0
5589
And param version = '2.0.2'
0
5590
And param request = 'GetRecordById'
0
5591
And param id = 'dcb7f0d7-d70b-4eab-9a46-7af98de860bd'
1
5592
And param elementsetname = 'full'
0
5593
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
5594
When method get
1469
5595
Then status 200
0
5596
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'dcb7f0d7-d70b-4eab-9a46-7af98de860bd'
1
5597
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
5598
* def title = get response //citation/CI_Citation/title/CharacterString
1
5599
* def email = get response //electronicMailAddress/CharacterString
1
5600
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
5601
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
5602
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
1
5603
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
1
5604
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
5605
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
5606
* print organisationpath
0
06:40:07.352 [print] Beheer PDOK
5607
* print operateson
0
06:40:07.352 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=26103042-50a1-4ee5-9c5b-857a2f8b7680#MD_DataIdentification
5608
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
5609
* eval db.writeln('"dcb7f0d7-d70b-4eab-9a46-7af98de860bd","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
5610
* eval db.writeln('"dcb7f0d7-d70b-4eab-9a46-7af98de860bd","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.166:18]b85d4a0a-c0f7-42f4-9316-b214d205ca38
ms: 1598
>>
Background:
5611
* url 'http://nationaalgeoregister.nl/'
1
06:39:54.462 karate.env system property was:
5612
* def mystorage = Java.type('storage.DataStorage')
1
5613
* def db = new mystorage
1
5614
* def db = db.setfeature(karate.info.featureFileName)
4
5615
* def separator = java.lang.System.getProperty("file.separator")
1
5616
* def outputpath = db.outputpath()
1
5617
* eval db.ensureDirectory(outputpath)
1
5618
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
5619
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
5620
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
5621
Given path 'geonetwork/srv/dut/inspire'
0
5622
And param service = 'CSW'
0
5623
And param version = '2.0.2'
0
5624
And param request = 'GetRecordById'
0
5625
And param id = 'b85d4a0a-c0f7-42f4-9316-b214d205ca38'
5
5626
And param elementsetname = 'full'
0
5627
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
5628
When method get
1583
5629
Then status 200
0
5630
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'b85d4a0a-c0f7-42f4-9316-b214d205ca38'
1
5631
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
5632
* def title = get response //citation/CI_Citation/title/CharacterString
0
5633
* def email = get response //electronicMailAddress/CharacterString
0
5634
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
5635
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
5636
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
5637
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
5638
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
5639
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
5640
* print organisationpath
0
06:40:07.469 [print] RDW
5641
* print operateson
0
06:40:07.469 [print] https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=fe2f9091-1962-4073-9e3b-3e4aeed488a5#MD_DataIdentification
5642
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
5643
* eval db.writeln('"b85d4a0a-c0f7-42f4-9316-b214d205ca38","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
5644
* eval db.writeln('"b85d4a0a-c0f7-42f4-9316-b214d205ca38","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.167:18]c7dad4b9-42a8-452f-a33b-d4938ed22142
ms: 1784
>>
Background:
5645
* url 'http://nationaalgeoregister.nl/'
1
06:39:54.462 karate.env system property was:
5646
* def mystorage = Java.type('storage.DataStorage')
1
5647
* def db = new mystorage
1
5648
* def db = db.setfeature(karate.info.featureFileName)
4
5649
* def separator = java.lang.System.getProperty("file.separator")
1
5650
* def outputpath = db.outputpath()
1
5651
* eval db.ensureDirectory(outputpath)
1
5652
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
5653
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
5654
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
5655
Given path 'geonetwork/srv/dut/inspire'
0
5656
And param service = 'CSW'
0
5657
And param version = '2.0.2'
0
5658
And param request = 'GetRecordById'
0
5659
And param id = 'c7dad4b9-42a8-452f-a33b-d4938ed22142'
0
5660
And param elementsetname = 'full'
0
5661
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
5662
When method get
1772
5663
Then status 200
0
5664
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'c7dad4b9-42a8-452f-a33b-d4938ed22142'
2
5665
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
5666
* def title = get response //citation/CI_Citation/title/CharacterString
0
5667
* def email = get response //electronicMailAddress/CharacterString
0
5668
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
5669
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
5670
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
5671
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
5672
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
5673
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
5674
* print organisationpath
0
06:40:07.673 [print] Ministerie van Defensie, Koninklijke Marine, Dienst der Hydrografie
5675
* print operateson
0
06:40:07.673 [print] https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=f44dac86-2228-412f-8355-e56446ca9933#MD_DataIdentification
5676
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
5677
* eval db.writeln('"c7dad4b9-42a8-452f-a33b-d4938ed22142","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
5678
* eval db.writeln('"c7dad4b9-42a8-452f-a33b-d4938ed22142","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.168:18]684ff4f6-1652-45a8-93f0-8e16d37b2a66
ms: 1667
>>
Background:
5679
* url 'http://nationaalgeoregister.nl/'
1
06:39:54.462 karate.env system property was:
5680
* def mystorage = Java.type('storage.DataStorage')
1
5681
* def db = new mystorage
1
5682
* def db = db.setfeature(karate.info.featureFileName)
4
5683
* def separator = java.lang.System.getProperty("file.separator")
1
5684
* def outputpath = db.outputpath()
1
5685
* eval db.ensureDirectory(outputpath)
1
5686
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
5687
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
5688
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
5689
Given path 'geonetwork/srv/dut/inspire'
0
5690
And param service = 'CSW'
0
5691
And param version = '2.0.2'
0
5692
And param request = 'GetRecordById'
0
5693
And param id = '684ff4f6-1652-45a8-93f0-8e16d37b2a66'
0
5694
And param elementsetname = 'full'
0
5695
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
5696
When method get
1652
5697
Then status 200
0
5698
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '684ff4f6-1652-45a8-93f0-8e16d37b2a66'
2
5699
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
5700
* def title = get response //citation/CI_Citation/title/CharacterString
0
5701
* def email = get response //electronicMailAddress/CharacterString
0
5702
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
5703
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
5704
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
5705
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
5706
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
5707
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
5708
* print organisationpath
0
06:40:07.673 [print] Beheer PDOK
5709
* print operateson
0
06:40:07.673 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=2d4ec7e6-50ae-4c71-bd20-5b9211e2135f#MD_DataIdentification
5710
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
5711
* eval db.writeln('"684ff4f6-1652-45a8-93f0-8e16d37b2a66","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
3
5712
* eval db.writeln('"684ff4f6-1652-45a8-93f0-8e16d37b2a66","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
5
Scenario Outline: [1.169:18]ddf33bff-8de3-4cca-b6f5-24d18daa502f
ms: 1662
>>
Background:
5713
* url 'http://nationaalgeoregister.nl/'
1
06:39:54.462 karate.env system property was:
5714
* def mystorage = Java.type('storage.DataStorage')
1
5715
* def db = new mystorage
1
5716
* def db = db.setfeature(karate.info.featureFileName)
4
5717
* def separator = java.lang.System.getProperty("file.separator")
1
5718
* def outputpath = db.outputpath()
1
5719
* eval db.ensureDirectory(outputpath)
1
5720
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
5721
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
5722
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
5723
Given path 'geonetwork/srv/dut/inspire'
0
5724
And param service = 'CSW'
0
5725
And param version = '2.0.2'
14
5726
And param request = 'GetRecordById'
0
5727
And param id = 'ddf33bff-8de3-4cca-b6f5-24d18daa502f'
1
5728
And param elementsetname = 'full'
0
5729
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
5730
When method get
1636
5731
Then status 200
0
5732
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'ddf33bff-8de3-4cca-b6f5-24d18daa502f'
1
5733
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
5734
* def title = get response //citation/CI_Citation/title/CharacterString
0
5735
* def email = get response //electronicMailAddress/CharacterString
0
5736
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
5737
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
5738
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
5739
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
5740
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
5741
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
5742
* print organisationpath
0
06:40:07.704 [print] Beheer PDOK
5743
* print operateson
0
06:40:07.704 [print] [
"https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=110f9ec6-4464-462e-9765-83d90cefbeag#MD_DataIdentification",
"https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=110f9ec6-4464-462e-9765-83d90cefbead#MD_DataIdentification"
]
5744
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
5745
* eval db.writeln('"ddf33bff-8de3-4cca-b6f5-24d18daa502f","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
5746
* eval db.writeln('"ddf33bff-8de3-4cca-b6f5-24d18daa502f","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.170:18]db1e010a-96f8-453e-b63c-9c27d6273157
ms: 1635
>>
Background:
5747
* url 'http://nationaalgeoregister.nl/'
1
06:39:54.462 karate.env system property was:
5748
* def mystorage = Java.type('storage.DataStorage')
1
5749
* def db = new mystorage
1
5750
* def db = db.setfeature(karate.info.featureFileName)
4
5751
* def separator = java.lang.System.getProperty("file.separator")
1
5752
* def outputpath = db.outputpath()
1
5753
* eval db.ensureDirectory(outputpath)
1
5754
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
5755
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
5756
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
5757
Given path 'geonetwork/srv/dut/inspire'
0
5758
And param service = 'CSW'
0
5759
And param version = '2.0.2'
0
5760
And param request = 'GetRecordById'
0
5761
And param id = 'db1e010a-96f8-453e-b63c-9c27d6273157'
1
5762
And param elementsetname = 'full'
0
5763
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
5764
When method get
1623
5765
Then status 200
0
5766
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'db1e010a-96f8-453e-b63c-9c27d6273157'
1
5767
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
5768
* def title = get response //citation/CI_Citation/title/CharacterString
0
5769
* def email = get response //electronicMailAddress/CharacterString
0
5770
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
5771
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
5772
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
5773
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
5774
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
5775
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
5776
* print organisationpath
0
06:40:07.688 [print] Beheer PDOK
5777
* print operateson
0
06:40:07.688 [print] http://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=2d3dd6d2-2d2b-4b5f-9e30-86e19ed77a56#MD_DataIdentification
5778
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
5779
* eval db.writeln('"db1e010a-96f8-453e-b63c-9c27d6273157","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
5780
* eval db.writeln('"db1e010a-96f8-453e-b63c-9c27d6273157","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
3
Scenario Outline: [1.171:18]f0eb64f9-8888-42e1-9550-bf91c32da4bc
ms: 1718
>>
Background:
5781
* url 'http://nationaalgeoregister.nl/'
1
06:39:54.462 karate.env system property was:
5782
* def mystorage = Java.type('storage.DataStorage')
1
5783
* def db = new mystorage
1
5784
* def db = db.setfeature(karate.info.featureFileName)
4
5785
* def separator = java.lang.System.getProperty("file.separator")
1
5786
* def outputpath = db.outputpath()
1
5787
* eval db.ensureDirectory(outputpath)
1
5788
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
5789
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
5790
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
5791
Given path 'geonetwork/srv/dut/inspire'
0
5792
And param service = 'CSW'
0
5793
And param version = '2.0.2'
0
5794
And param request = 'GetRecordById'
0
5795
And param id = 'f0eb64f9-8888-42e1-9550-bf91c32da4bc'
0
5796
And param elementsetname = 'full'
0
5797
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
5798
When method get
1707
5799
Then status 200
0
5800
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'f0eb64f9-8888-42e1-9550-bf91c32da4bc'
2
5801
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
5802
* def title = get response //citation/CI_Citation/title/CharacterString
0
5803
* def email = get response //electronicMailAddress/CharacterString
0
5804
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
5805
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
5806
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
5807
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
1
5808
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
5809
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
5810
* print organisationpath
0
06:40:07.784 [print]
5811
* print operateson
0
06:40:07.784 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=e1e99000-ec47-4e9f-84a5-adad24fef0dc#MD_DataIdentification
5812
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
5813
* eval db.writeln('"f0eb64f9-8888-42e1-9550-bf91c32da4bc","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
5814
* eval db.writeln('"f0eb64f9-8888-42e1-9550-bf91c32da4bc","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.172:18]6d23a02b-5a8a-447e-a481-ddb2a085c1fb
ms: 1577
>>
Background:
5815
* url 'http://nationaalgeoregister.nl/'
1
06:39:54.462 karate.env system property was:
5816
* def mystorage = Java.type('storage.DataStorage')
1
5817
* def db = new mystorage
1
5818
* def db = db.setfeature(karate.info.featureFileName)
4
5819
* def separator = java.lang.System.getProperty("file.separator")
1
5820
* def outputpath = db.outputpath()
1
5821
* eval db.ensureDirectory(outputpath)
1
5822
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
5823
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
5824
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
5825
Given path 'geonetwork/srv/dut/inspire'
1
5826
And param service = 'CSW'
0
5827
And param version = '2.0.2'
0
5828
And param request = 'GetRecordById'
0
5829
And param id = '6d23a02b-5a8a-447e-a481-ddb2a085c1fb'
0
5830
And param elementsetname = 'full'
0
5831
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
5832
When method get
1558
5833
Then status 200
0
5834
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '6d23a02b-5a8a-447e-a481-ddb2a085c1fb'
1
5835
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
5836
* def title = get response //citation/CI_Citation/title/CharacterString
1
5837
* def email = get response //electronicMailAddress/CharacterString
1
5838
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
5839
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
1
5840
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
5
5841
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
5842
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
5843
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
5844
* print organisationpath
0
06:40:07.822 [print] Beheer PDOK
5845
* print operateson
2
06:40:07.824 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=3373be8c-8539-4763-bc22-eba23ac1898f#MD_DataIdentification
5846
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
5847
* eval db.writeln('"6d23a02b-5a8a-447e-a481-ddb2a085c1fb","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
5848
* eval db.writeln('"6d23a02b-5a8a-447e-a481-ddb2a085c1fb","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
3
Scenario Outline: [1.173:18]6d23a02b-5a8a-447e-a481-ddb2a085c1fa
ms: 1547
>>
Background:
5849
* url 'http://nationaalgeoregister.nl/'
1
06:39:54.462 karate.env system property was:
5850
* def mystorage = Java.type('storage.DataStorage')
1
5851
* def db = new mystorage
1
5852
* def db = db.setfeature(karate.info.featureFileName)
4
5853
* def separator = java.lang.System.getProperty("file.separator")
1
5854
* def outputpath = db.outputpath()
1
5855
* eval db.ensureDirectory(outputpath)
1
5856
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
5857
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
5858
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
5859
Given path 'geonetwork/srv/dut/inspire'
0
5860
And param service = 'CSW'
0
5861
And param version = '2.0.2'
0
5862
And param request = 'GetRecordById'
0
5863
And param id = '6d23a02b-5a8a-447e-a481-ddb2a085c1fa'
0
5864
And param elementsetname = 'full'
0
5865
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
5866
When method get
1534
5867
Then status 200
0
5868
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '6d23a02b-5a8a-447e-a481-ddb2a085c1fa'
2
5869
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
5870
* def title = get response //citation/CI_Citation/title/CharacterString
1
5871
* def email = get response //electronicMailAddress/CharacterString
1
5872
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
5873
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
1
5874
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
1
5875
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
1
5876
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
5877
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
5878
* print organisationpath
0
06:40:07.931 [print] Beheer PDOK
5879
* print operateson
0
06:40:07.931 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=3373be8c-8539-4763-bc22-eba23ac1898f#MD_DataIdentification
5880
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
5881
* eval db.writeln('"6d23a02b-5a8a-447e-a481-ddb2a085c1fa","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
5882
* eval db.writeln('"6d23a02b-5a8a-447e-a481-ddb2a085c1fa","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.174:18]40f04047-3b61-40eb-b026-c1a0caa71881
ms: 1533
>>
Background:
5883
* url 'http://nationaalgeoregister.nl/'
1
06:39:54.462 karate.env system property was:
5884
* def mystorage = Java.type('storage.DataStorage')
1
5885
* def db = new mystorage
1
5886
* def db = db.setfeature(karate.info.featureFileName)
4
5887
* def separator = java.lang.System.getProperty("file.separator")
1
5888
* def outputpath = db.outputpath()
1
5889
* eval db.ensureDirectory(outputpath)
1
5890
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
5891
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
5892
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
5893
Given path 'geonetwork/srv/dut/inspire'
2
5894
And param service = 'CSW'
0
5895
And param version = '2.0.2'
0
5896
And param request = 'GetRecordById'
0
5897
And param id = '40f04047-3b61-40eb-b026-c1a0caa71881'
0
5898
And param elementsetname = 'full'
0
5899
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
5900
When method get
1517
5901
Then status 200
0
5902
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '40f04047-3b61-40eb-b026-c1a0caa71881'
2
5903
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
5904
* def title = get response //citation/CI_Citation/title/CharacterString
1
5905
* def email = get response //electronicMailAddress/CharacterString
1
5906
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
5907
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
1
5908
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
1
5909
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
1
5910
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
1
5911
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
5912
* print organisationpath
0
06:40:07.974 [print] Beheer PDOK
5913
* print operateson
0
06:40:07.974 [print] [
"http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=11d83e36-fd0d-46bc-838c-0567c5dfdb19#MD_DataIdentification",
"http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=34dacd72-d2fb-4e28-844d-73d3b9c3fef2#MD_DataIdentification",
"http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=419b85e5-04ee-4cc9-b910-bc58594a943a#MD_DataIdentification",
"http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=119f7512-a71e-4d1a-82e7-7a2b63f9338b#MD_DataIdentification",
"http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=6ea55ec4-f312-40ef-9935-68806e61b496#MD_DataIdentification",
"http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=af784610-df36-4d40-bac0-23d8e728999f#MD_DataIdentification",
"http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=24eb504e-f5f3-4ecf-b760-cc5630e82a57#MD_DataIdentification"
]
5914
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
5915
* eval db.writeln('"40f04047-3b61-40eb-b026-c1a0caa71881","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
5916
* eval db.writeln('"40f04047-3b61-40eb-b026-c1a0caa71881","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.175:18]018a28a5-1019-4747-b031-f66ffc1c6ae7
ms: 1568
>>
Background:
5917
* url 'http://nationaalgeoregister.nl/'
1
06:39:54.462 karate.env system property was:
5918
* def mystorage = Java.type('storage.DataStorage')
1
5919
* def db = new mystorage
1
5920
* def db = db.setfeature(karate.info.featureFileName)
4
5921
* def separator = java.lang.System.getProperty("file.separator")
1
5922
* def outputpath = db.outputpath()
1
5923
* eval db.ensureDirectory(outputpath)
1
5924
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
5925
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
5926
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
5927
Given path 'geonetwork/srv/dut/inspire'
16
5928
And param service = 'CSW'
0
5929
And param version = '2.0.2'
0
5930
And param request = 'GetRecordById'
0
5931
And param id = '018a28a5-1019-4747-b031-f66ffc1c6ae7'
0
5932
And param elementsetname = 'full'
0
5933
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
5934
When method get
1540
5935
Then status 200
0
5936
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '018a28a5-1019-4747-b031-f66ffc1c6ae7'
1
5937
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
5938
* def title = get response //citation/CI_Citation/title/CharacterString
1
5939
* def email = get response //electronicMailAddress/CharacterString
1
5940
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
5941
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
5942
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
5943
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
5944
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
5945
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
5946
* print organisationpath
0
06:40:08.047 [print] Beheer PDOK
5947
* print operateson
0
06:40:08.047 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=eu-cb527d-f6db-4835-b0cd-deb245241254#MD_DataIdentification
5948
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
5949
* eval db.writeln('"018a28a5-1019-4747-b031-f66ffc1c6ae7","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
5950
* eval db.writeln('"018a28a5-1019-4747-b031-f66ffc1c6ae7","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
3
Scenario Outline: [1.176:18]598c4109-21d2-4a6c-b083-9975a6736853
ms: 1607
>>
Background:
5951
* url 'http://nationaalgeoregister.nl/'
1
06:39:54.462 karate.env system property was:
5952
* def mystorage = Java.type('storage.DataStorage')
1
5953
* def db = new mystorage
1
5954
* def db = db.setfeature(karate.info.featureFileName)
4
5955
* def separator = java.lang.System.getProperty("file.separator")
1
5956
* def outputpath = db.outputpath()
1
5957
* eval db.ensureDirectory(outputpath)
1
5958
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
5959
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
5960
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
5961
Given path 'geonetwork/srv/dut/inspire'
0
5962
And param service = 'CSW'
0
5963
And param version = '2.0.2'
0
5964
And param request = 'GetRecordById'
0
5965
And param id = '598c4109-21d2-4a6c-b083-9975a6736853'
0
5966
And param elementsetname = 'full'
0
5967
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
5968
When method get
1594
5969
Then status 200
0
5970
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '598c4109-21d2-4a6c-b083-9975a6736853'
2
5971
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
5972
* def title = get response //citation/CI_Citation/title/CharacterString
1
5973
* def email = get response //electronicMailAddress/CharacterString
1
5974
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
5975
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
1
5976
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
1
5977
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
1
5978
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
1
5979
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
5980
* print organisationpath
0
06:40:08.092 [print] Beheer PDOK
5981
* print operateson
0
06:40:08.092 [print] [
"http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=27df6b33-194c-46d6-ac94-257c306c91f2#MD_DataIdentification",
"http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=abaf1e22-55aa-4a11-a855-7ac963e4a82b#MD_DataIdentification"
]
5982
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
5983
* eval db.writeln('"598c4109-21d2-4a6c-b083-9975a6736853","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
5984
* eval db.writeln('"598c4109-21d2-4a6c-b083-9975a6736853","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.177:18]5be1b57b-2cac-4119-92eb-700346543d47
ms: 1566
>>
Background:
5985
* url 'http://nationaalgeoregister.nl/'
1
06:39:54.462 karate.env system property was:
5986
* def mystorage = Java.type('storage.DataStorage')
1
5987
* def db = new mystorage
1
5988
* def db = db.setfeature(karate.info.featureFileName)
4
5989
* def separator = java.lang.System.getProperty("file.separator")
1
5990
* def outputpath = db.outputpath()
1
5991
* eval db.ensureDirectory(outputpath)
1
5992
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
5993
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
5994
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
5995
Given path 'geonetwork/srv/dut/inspire'
0
5996
And param service = 'CSW'
0
5997
And param version = '2.0.2'
0
5998
And param request = 'GetRecordById'
0
5999
And param id = '5be1b57b-2cac-4119-92eb-700346543d47'
0
6000
And param elementsetname = 'full'
0
6001
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
6002
When method get
1556
6003
Then status 200
0
6004
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '5be1b57b-2cac-4119-92eb-700346543d47'
1
6005
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
6006
* def title = get response //citation/CI_Citation/title/CharacterString
0
6007
* def email = get response //electronicMailAddress/CharacterString
0
6008
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
6009
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
6010
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
6011
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
6012
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
6013
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
6014
* print organisationpath
0
06:40:08.136 [print] Ministerie van Defensie, Koninklijke Marine, Dienst der Hydrografie
6015
* print operateson
0
06:40:08.136 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=a5241416-8401-4623-be61-57ef50447a41&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full#MD_DataIdentification
6016
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
6017
* eval db.writeln('"5be1b57b-2cac-4119-92eb-700346543d47","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
6018
* eval db.writeln('"5be1b57b-2cac-4119-92eb-700346543d47","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.178:18]dd414384-0bcb-4188-86e2-2843e12a579e
ms: 1723
>>
Background:
6019
* url 'http://nationaalgeoregister.nl/'
1
06:39:54.462 karate.env system property was:
6020
* def mystorage = Java.type('storage.DataStorage')
1
6021
* def db = new mystorage
1
6022
* def db = db.setfeature(karate.info.featureFileName)
4
6023
* def separator = java.lang.System.getProperty("file.separator")
1
6024
* def outputpath = db.outputpath()
1
6025
* eval db.ensureDirectory(outputpath)
1
6026
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
6027
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
6028
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
6029
Given path 'geonetwork/srv/dut/inspire'
0
6030
And param service = 'CSW'
0
6031
And param version = '2.0.2'
0
6032
And param request = 'GetRecordById'
0
6033
And param id = 'dd414384-0bcb-4188-86e2-2843e12a579e'
0
6034
And param elementsetname = 'full'
0
6035
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
6036
When method get
1706
6037
Then status 200
0
6038
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'dd414384-0bcb-4188-86e2-2843e12a579e'
5
6039
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
6040
* def title = get response //citation/CI_Citation/title/CharacterString
0
6041
* def email = get response //electronicMailAddress/CharacterString
0
6042
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
6043
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
6044
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
6045
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
6046
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
1
6047
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
6048
* print organisationpath
0
06:40:08.323 [print] TNO Geologische Dienst Nederland
6049
* print operateson
0
06:40:08.323 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&ID=a7fb2234-f7b4-4a03-b282-f10947f42fb1&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full#MD_DataIdentification
6050
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
3
6051
* eval db.writeln('"dd414384-0bcb-4188-86e2-2843e12a579e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
6052
* eval db.writeln('"dd414384-0bcb-4188-86e2-2843e12a579e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.179:18]15c3c30f-0db2-4b3b-80f6-b990c8fc8225
ms: 1484
>>
Background:
6053
* url 'http://nationaalgeoregister.nl/'
1
06:39:54.462 karate.env system property was:
6054
* def mystorage = Java.type('storage.DataStorage')
1
6055
* def db = new mystorage
1
6056
* def db = db.setfeature(karate.info.featureFileName)
4
6057
* def separator = java.lang.System.getProperty("file.separator")
1
6058
* def outputpath = db.outputpath()
1
6059
* eval db.ensureDirectory(outputpath)
1
6060
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
6061
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
6062
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
6063
Given path 'geonetwork/srv/dut/inspire'
0
6064
And param service = 'CSW'
0
6065
And param version = '2.0.2'
0
6066
And param request = 'GetRecordById'
0
6067
And param id = '15c3c30f-0db2-4b3b-80f6-b990c8fc8225'
0
6068
And param elementsetname = 'full'
0
6069
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
6070
When method get
1474
6071
Then status 200
0
6072
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '15c3c30f-0db2-4b3b-80f6-b990c8fc8225'
1
6073
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
6074
* def title = get response //citation/CI_Citation/title/CharacterString
0
6075
* def email = get response //electronicMailAddress/CharacterString
0
6076
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
6077
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
6078
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
6079
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
6080
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
6081
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
6082
* print organisationpath
0
06:40:08.320 [print]
6083
* print operateson
0
06:40:08.320 [print] https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=07575774-57a1-4419-bab4-6c88fdeb02b2#MD_DataIdentification
6084
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
6085
* eval db.writeln('"15c3c30f-0db2-4b3b-80f6-b990c8fc8225","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
6086
* eval db.writeln('"15c3c30f-0db2-4b3b-80f6-b990c8fc8225","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.180:18]1c9b43c3-064d-40c3-aa7c-879b7376ef6f
ms: 1506
>>
Background:
6087
* url 'http://nationaalgeoregister.nl/'
1
06:39:54.462 karate.env system property was:
6088
* def mystorage = Java.type('storage.DataStorage')
1
6089
* def db = new mystorage
1
6090
* def db = db.setfeature(karate.info.featureFileName)
4
6091
* def separator = java.lang.System.getProperty("file.separator")
1
6092
* def outputpath = db.outputpath()
1
6093
* eval db.ensureDirectory(outputpath)
1
6094
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
6095
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
6096
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
6097
Given path 'geonetwork/srv/dut/inspire'
0
6098
And param service = 'CSW'
0
6099
And param version = '2.0.2'
0
6100
And param request = 'GetRecordById'
0
6101
And param id = '1c9b43c3-064d-40c3-aa7c-879b7376ef6f'
0
6102
And param elementsetname = 'full'
0
6103
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
6104
When method get
1494
6105
Then status 200
0
6106
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '1c9b43c3-064d-40c3-aa7c-879b7376ef6f'
1
6107
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
6108
* def title = get response //citation/CI_Citation/title/CharacterString
0
6109
* def email = get response //electronicMailAddress/CharacterString
0
6110
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
6111
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
6112
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
6113
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
6114
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
6115
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
6116
* print organisationpath
0
06:40:08.354 [print] Beheer PDOK
6117
* print operateson
0
06:40:08.354 [print] https://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=dc5b522e-3e14-4738-9e8e-2401e1b19ef2#MD_DataIdentification
6118
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
6119
* eval db.writeln('"1c9b43c3-064d-40c3-aa7c-879b7376ef6f","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
6120
* eval db.writeln('"1c9b43c3-064d-40c3-aa7c-879b7376ef6f","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
4
Scenario Outline: [1.181:18]9c80458b-12c6-4d38-8f6d-387ab6e4ed21
ms: 1591
>>
Background:
6121
* url 'http://nationaalgeoregister.nl/'
1
06:39:54.462 karate.env system property was:
6122
* def mystorage = Java.type('storage.DataStorage')
1
6123
* def db = new mystorage
1
6124
* def db = db.setfeature(karate.info.featureFileName)
4
6125
* def separator = java.lang.System.getProperty("file.separator")
1
6126
* def outputpath = db.outputpath()
1
6127
* eval db.ensureDirectory(outputpath)
1
6128
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
6129
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
6130
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
6131
Given path 'geonetwork/srv/dut/inspire'
0
6132
And param service = 'CSW'
0
6133
And param version = '2.0.2'
0
6134
And param request = 'GetRecordById'
0
6135
And param id = '9c80458b-12c6-4d38-8f6d-387ab6e4ed21'
0
6136
And param elementsetname = 'full'
0
6137
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
6138
When method get
1580
6139
Then status 200
0
6140
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '9c80458b-12c6-4d38-8f6d-387ab6e4ed21'
1
6141
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
6142
* def title = get response //citation/CI_Citation/title/CharacterString
0
6143
* def email = get response //electronicMailAddress/CharacterString
0
6144
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
6145
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
6146
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
6147
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
6148
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
6149
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
6150
* print organisationpath
0
06:40:08.458 [print] Beheer PDOK
6151
* print operateson
0
06:40:08.458 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=8829e5dd-c861-4639-a6c8-fdbb6e3440d2#MD_DataIdentification
6152
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
6153
* eval db.writeln('"9c80458b-12c6-4d38-8f6d-387ab6e4ed21","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
6154
* eval db.writeln('"9c80458b-12c6-4d38-8f6d-387ab6e4ed21","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
3
Scenario Outline: [1.182:18]a6098c24-4caf-4528-954c-672b9ec6cf78
ms: 1477
>>
Background:
6155
* url 'http://nationaalgeoregister.nl/'
1
06:39:54.462 karate.env system property was:
6156
* def mystorage = Java.type('storage.DataStorage')
1
6157
* def db = new mystorage
1
6158
* def db = db.setfeature(karate.info.featureFileName)
4
6159
* def separator = java.lang.System.getProperty("file.separator")
1
6160
* def outputpath = db.outputpath()
1
6161
* eval db.ensureDirectory(outputpath)
1
6162
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
6163
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
6164
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
6165
Given path 'geonetwork/srv/dut/inspire'
0
6166
And param service = 'CSW'
0
6167
And param version = '2.0.2'
0
6168
And param request = 'GetRecordById'
0
6169
And param id = 'a6098c24-4caf-4528-954c-672b9ec6cf78'
0
6170
And param elementsetname = 'full'
0
6171
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
6172
When method get
1463
6173
Then status 200
0
6174
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'a6098c24-4caf-4528-954c-672b9ec6cf78'
2
6175
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
6176
* def title = get response //citation/CI_Citation/title/CharacterString
1
6177
* def email = get response //electronicMailAddress/CharacterString
1
6178
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
6179
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
1
6180
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
6181
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
6182
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
6183
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
6184
* print organisationpath
0
06:40:08.439 [print]
6185
* print operateson
0
06:40:08.439 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=32a21114-8694-40ce-ab76-9dcd885c7861#MD_DataIdentification
6186
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
6187
* eval db.writeln('"a6098c24-4caf-4528-954c-672b9ec6cf78","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
6188
* eval db.writeln('"a6098c24-4caf-4528-954c-672b9ec6cf78","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.183:18]0bb27a13-76f1-4374-8d44-76e937198e8d
ms: 1606
>>
Background:
6189
* url 'http://nationaalgeoregister.nl/'
1
06:39:54.462 karate.env system property was:
6190
* def mystorage = Java.type('storage.DataStorage')
1
6191
* def db = new mystorage
1
6192
* def db = db.setfeature(karate.info.featureFileName)
4
6193
* def separator = java.lang.System.getProperty("file.separator")
1
6194
* def outputpath = db.outputpath()
1
6195
* eval db.ensureDirectory(outputpath)
1
6196
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
6197
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
6198
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
6199
Given path 'geonetwork/srv/dut/inspire'
1
6200
And param service = 'CSW'
0
6201
And param version = '2.0.2'
0
6202
And param request = 'GetRecordById'
0
6203
And param id = '0bb27a13-76f1-4374-8d44-76e937198e8d'
1
6204
And param elementsetname = 'full'
0
6205
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
6206
When method get
1585
6207
Then status 200
0
6208
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '0bb27a13-76f1-4374-8d44-76e937198e8d'
1
6209
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
6210
* def title = get response //citation/CI_Citation/title/CharacterString
0
6211
* def email = get response //electronicMailAddress/CharacterString
0
6212
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
6213
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
6214
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
6215
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
6216
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
6217
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
6218
* print organisationpath
0
06:40:08.583 [print] Ministerie van Defensie, Koninklijke Marine, Dienst der Hydrografie
6219
* print operateson
0
06:40:08.583 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=a5241416-8401-4623-be61-57ef50447a41&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full#MD_DataIdentification
6220
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
6221
* eval db.writeln('"0bb27a13-76f1-4374-8d44-76e937198e8d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
7
6222
* eval db.writeln('"0bb27a13-76f1-4374-8d44-76e937198e8d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
6
Scenario Outline: [1.184:18]00e8746f-5031-413e-8343-9203c8ea82ee
ms: 1651
>>
Background:
6223
* url 'http://nationaalgeoregister.nl/'
1
06:39:54.462 karate.env system property was:
6224
* def mystorage = Java.type('storage.DataStorage')
1
6225
* def db = new mystorage
1
6226
* def db = db.setfeature(karate.info.featureFileName)
4
6227
* def separator = java.lang.System.getProperty("file.separator")
1
6228
* def outputpath = db.outputpath()
1
6229
* eval db.ensureDirectory(outputpath)
1
6230
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
6231
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
6232
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
6233
Given path 'geonetwork/srv/dut/inspire'
4
6234
And param service = 'CSW'
0
6235
And param version = '2.0.2'
0
6236
And param request = 'GetRecordById'
0
6237
And param id = '00e8746f-5031-413e-8343-9203c8ea82ee'
4
6238
And param elementsetname = 'full'
0
6239
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
6240
When method get
1631
6241
Then status 200
0
6242
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '00e8746f-5031-413e-8343-9203c8ea82ee'
1
6243
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
6244
* def title = get response //citation/CI_Citation/title/CharacterString
0
6245
* def email = get response //electronicMailAddress/CharacterString
0
6246
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
6247
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
6248
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
6249
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
6250
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
6251
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
6252
* print organisationpath
0
06:40:08.645 [print] Interprovinciaal Overleg
6253
* print operateson
0
06:40:08.645 [print] [
"http://www.nationaalgeoregister.nl/geonetwork/srv/nl/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=88f76a94-ee4d-4e0c-9fde-91b692403e39&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full#MD_DataIdentification",
"http://www.nationaalgeoregister.nl/geonetwork/srv/nl/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=08af1182-91fe-4d21-aa21-ee002953c3cc&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full#MD_DataIdentification",
"http://www.nationaalgeoregister.nl/geonetwork/srv/nl/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=d91126e0-e37b-11e4-b571-0800200c9a66&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full#MD_DataIdentification",
"http://www.nationaalgeoregister.nl/geonetwork/srv/nl/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=667ebfb0-e37c-11e4-b571-0800200c9a66&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full#MD_DataIdentification"
]
6254
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
6255
* eval db.writeln('"00e8746f-5031-413e-8343-9203c8ea82ee","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
6256
* eval db.writeln('"00e8746f-5031-413e-8343-9203c8ea82ee","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
4
Scenario Outline: [1.185:18]73914696-dc43-11e3-bdbb-901b0e19e163
ms: 1736
>>
Background:
6257
* url 'http://nationaalgeoregister.nl/'
1
06:39:54.462 karate.env system property was:
6258
* def mystorage = Java.type('storage.DataStorage')
1
6259
* def db = new mystorage
1
6260
* def db = db.setfeature(karate.info.featureFileName)
4
6261
* def separator = java.lang.System.getProperty("file.separator")
1
6262
* def outputpath = db.outputpath()
1
6263
* eval db.ensureDirectory(outputpath)
1
6264
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
6265
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
6266
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
6267
Given path 'geonetwork/srv/dut/inspire'
0
6268
And param service = 'CSW'
0
6269
And param version = '2.0.2'
0
6270
And param request = 'GetRecordById'
0
6271
And param id = '73914696-dc43-11e3-bdbb-901b0e19e163'
0
6272
And param elementsetname = 'full'
0
6273
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
6274
When method get
1724
6275
Then status 200
0
6276
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '73914696-dc43-11e3-bdbb-901b0e19e163'
1
6277
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
6278
* def title = get response //citation/CI_Citation/title/CharacterString
0
6279
* def email = get response //electronicMailAddress/CharacterString
0
6280
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
6281
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
6282
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
6283
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
6284
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
6285
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
6286
* print organisationpath
0
06:40:08.733 [print] Koninklijk Nederlands Meteorologisch Instituut (KNMI)
6287
* print operateson
0
06:40:08.734 [print] http://data.knmi.nl/inspire/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=b59f06c0-dce5-11e3-9c10-901b0e19e163&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full
6288
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
6289
* eval db.writeln('"73914696-dc43-11e3-bdbb-901b0e19e163","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
6290
* eval db.writeln('"73914696-dc43-11e3-bdbb-901b0e19e163","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.186:18]5856173c-e58d-4b4c-8f9b-046ee1f20c1c
ms: 1691
>>
Background:
6291
* url 'http://nationaalgeoregister.nl/'
1
06:39:54.462 karate.env system property was:
6292
* def mystorage = Java.type('storage.DataStorage')
1
6293
* def db = new mystorage
1
6294
* def db = db.setfeature(karate.info.featureFileName)
4
6295
* def separator = java.lang.System.getProperty("file.separator")
1
6296
* def outputpath = db.outputpath()
1
6297
* eval db.ensureDirectory(outputpath)
1
6298
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
6299
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
6300
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
6301
Given path 'geonetwork/srv/dut/inspire'
1
6302
And param service = 'CSW'
0
6303
And param version = '2.0.2'
0
6304
And param request = 'GetRecordById'
0
6305
And param id = '5856173c-e58d-4b4c-8f9b-046ee1f20c1c'
1
6306
And param elementsetname = 'full'
0
6307
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
6308
When method get
1671
6309
Then status 200
0
6310
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '5856173c-e58d-4b4c-8f9b-046ee1f20c1c'
5
6311
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
6312
* def title = get response //citation/CI_Citation/title/CharacterString
1
6313
* def email = get response //electronicMailAddress/CharacterString
1
6314
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
6315
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
6316
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
6317
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
6318
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
4
6319
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
6320
* print organisationpath
0
06:40:08.834 [print] Beheer PDOK
6321
* print operateson
0
06:40:08.834 [print] https://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=dc5b522e-3e14-4738-9e8e-2401e1b19ef2#MD_DataIdentification
6322
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
6323
* eval db.writeln('"5856173c-e58d-4b4c-8f9b-046ee1f20c1c","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
6324
* eval db.writeln('"5856173c-e58d-4b4c-8f9b-046ee1f20c1c","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.187:18]09588464-071b-47be-8cbe-d15f2e1f9634
ms: 1712
>>
Background:
6325
* url 'http://nationaalgeoregister.nl/'
1
06:39:54.462 karate.env system property was:
6326
* def mystorage = Java.type('storage.DataStorage')
1
6327
* def db = new mystorage
1
6328
* def db = db.setfeature(karate.info.featureFileName)
4
6329
* def separator = java.lang.System.getProperty("file.separator")
1
6330
* def outputpath = db.outputpath()
1
6331
* eval db.ensureDirectory(outputpath)
1
6332
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
6333
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
6334
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
6335
Given path 'geonetwork/srv/dut/inspire'
0
6336
And param service = 'CSW'
0
6337
And param version = '2.0.2'
0
6338
And param request = 'GetRecordById'
0
6339
And param id = '09588464-071b-47be-8cbe-d15f2e1f9634'
0
6340
And param elementsetname = 'full'
0
6341
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
6342
When method get
1698
6343
Then status 200
0
6344
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '09588464-071b-47be-8cbe-d15f2e1f9634'
1
6345
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
6346
* def title = get response //citation/CI_Citation/title/CharacterString
1
6347
* def email = get response //electronicMailAddress/CharacterString
1
6348
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
6349
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
1
6350
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
1
6351
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
1
6352
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
1
6353
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
6354
* print organisationpath
0
06:40:08.881 [print] Beheer PDOK
6355
* print operateson
2
06:40:08.883 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=6c06740d-058f-4a12-bb3f-bf68efd03d09#MD_DataIdentification
6356
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
6357
* eval db.writeln('"09588464-071b-47be-8cbe-d15f2e1f9634","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
6358
* eval db.writeln('"09588464-071b-47be-8cbe-d15f2e1f9634","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.188:18]ef2a7962-8bb4-483f-ac78-851b619f357f
ms: 1486
>>
Background:
6359
* url 'http://nationaalgeoregister.nl/'
1
06:39:54.462 karate.env system property was:
6360
* def mystorage = Java.type('storage.DataStorage')
1
6361
* def db = new mystorage
1
6362
* def db = db.setfeature(karate.info.featureFileName)
4
6363
* def separator = java.lang.System.getProperty("file.separator")
1
6364
* def outputpath = db.outputpath()
1
6365
* eval db.ensureDirectory(outputpath)
1
6366
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
6367
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
6368
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
6369
Given path 'geonetwork/srv/dut/inspire'
0
6370
And param service = 'CSW'
0
6371
And param version = '2.0.2'
0
6372
And param request = 'GetRecordById'
0
6373
And param id = 'ef2a7962-8bb4-483f-ac78-851b619f357f'
0
6374
And param elementsetname = 'full'
0
6375
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
6376
When method get
1475
6377
Then status 200
0
6378
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'ef2a7962-8bb4-483f-ac78-851b619f357f'
1
6379
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
6380
* def title = get response //citation/CI_Citation/title/CharacterString
0
6381
* def email = get response //electronicMailAddress/CharacterString
1
6382
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
6383
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
6384
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
6385
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
6386
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
6387
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
6388
* print organisationpath
0
06:40:08.759 [print] Rijksdienst voor het Cultureel Erfgoed
6389
* print operateson
0
06:40:08.761 [print] [
"http://www.nationaalgeoregister.nl/geonetwork/srv/nl/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=6f84efeb-fc1d-4565-a721-80735ea57dbd&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full",
"http://www.nationaalgeoregister.nl/geonetwork/srv/nl/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=dfe5b146-354f-4bc7-99b1-6713817afac9&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full",
"http://www.nationaalgeoregister.nl/geonetwork/srv/nl/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=4e2ef670-cddd-11dd-ad8b-0800200c9a66&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full",
"http://www.nationaalgeoregister.nl/geonetwork/srv/nl/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=88a3c1ae-902e-4efa-8663-ddd836101929&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full"
]
6390
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
6391
* eval db.writeln('"ef2a7962-8bb4-483f-ac78-851b619f357f","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
6392
* eval db.writeln('"ef2a7962-8bb4-483f-ac78-851b619f357f","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
3
Scenario Outline: [1.189:18]108fec55-e467-4d04-ab35-fd0d7060e3e2
ms: 1695
>>
Background:
6393
* url 'http://nationaalgeoregister.nl/'
1
06:39:54.462 karate.env system property was:
6394
* def mystorage = Java.type('storage.DataStorage')
1
6395
* def db = new mystorage
1
6396
* def db = db.setfeature(karate.info.featureFileName)
4
6397
* def separator = java.lang.System.getProperty("file.separator")
1
6398
* def outputpath = db.outputpath()
1
6399
* eval db.ensureDirectory(outputpath)
1
6400
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
6401
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
6402
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
6403
Given path 'geonetwork/srv/dut/inspire'
0
6404
And param service = 'CSW'
0
6405
And param version = '2.0.2'
0
6406
And param request = 'GetRecordById'
0
6407
And param id = '108fec55-e467-4d04-ab35-fd0d7060e3e2'
0
6408
And param elementsetname = 'full'
0
6409
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
6410
When method get
1684
6411
Then status 200
0
6412
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '108fec55-e467-4d04-ab35-fd0d7060e3e2'
1
6413
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
6414
* def title = get response //citation/CI_Citation/title/CharacterString
0
6415
* def email = get response //electronicMailAddress/CharacterString
1
6416
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
6417
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
1
6418
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
6419
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
6420
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
6421
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
6422
* print organisationpath
0
06:40:09.048 [print]
6423
* print operateson
0
06:40:09.048 [print] [
"https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=uwwtd-9d8e-4758-83fa-28b057f185e1#MD_DataIdentification",
"https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=uwwtd-9d8e-4758-83fa-28b057f185e2#MD_DataIdentification",
"https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=uwwtd-9d8e-4758-83fa-28b057f185e3#MD_DataIdentification"
]
6424
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
6425
* eval db.writeln('"108fec55-e467-4d04-ab35-fd0d7060e3e2","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
6426
* eval db.writeln('"108fec55-e467-4d04-ab35-fd0d7060e3e2","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.190:18]8e7686c3-f75e-411f-866e-6985267b916b
ms: 1728
>>
Background:
6427
* url 'http://nationaalgeoregister.nl/'
1
06:39:54.462 karate.env system property was:
6428
* def mystorage = Java.type('storage.DataStorage')
1
6429
* def db = new mystorage
1
6430
* def db = db.setfeature(karate.info.featureFileName)
4
6431
* def separator = java.lang.System.getProperty("file.separator")
1
6432
* def outputpath = db.outputpath()
1
6433
* eval db.ensureDirectory(outputpath)
1
6434
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
6435
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
6436
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
6437
Given path 'geonetwork/srv/dut/inspire'
0
6438
And param service = 'CSW'
0
6439
And param version = '2.0.2'
0
6440
And param request = 'GetRecordById'
0
6441
And param id = '8e7686c3-f75e-411f-866e-6985267b916b'
0
6442
And param elementsetname = 'full'
0
6443
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
6444
When method get
1674
6445
Then status 200
0
6446
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '8e7686c3-f75e-411f-866e-6985267b916b'
5
6447
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
5
6448
* def title = get response //citation/CI_Citation/title/CharacterString
5
6449
* def email = get response //electronicMailAddress/CharacterString
5
6450
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
5
6451
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
3
6452
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
3
6453
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
3
6454
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
3
6455
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
5
6456
* print organisationpath
0
06:40:09.192 [print] Beheer PDOK
6457
* print operateson
0
06:40:09.192 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=cbeaebc3-815a-48af-a978-0e16892865fc#MD_DataIdentification
6458
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
5
6459
* eval db.writeln('"8e7686c3-f75e-411f-866e-6985267b916b","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
6460
* eval db.writeln('"8e7686c3-f75e-411f-866e-6985267b916b","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.191:18]ebd6ea46-ee7b-432f-83c4-058c889a790d
ms: 1567
>>
Background:
6461
* url 'http://nationaalgeoregister.nl/'
1
06:39:54.462 karate.env system property was:
6462
* def mystorage = Java.type('storage.DataStorage')
1
6463
* def db = new mystorage
1
6464
* def db = db.setfeature(karate.info.featureFileName)
4
6465
* def separator = java.lang.System.getProperty("file.separator")
1
6466
* def outputpath = db.outputpath()
1
6467
* eval db.ensureDirectory(outputpath)
1
6468
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
6469
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
6470
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
6471
Given path 'geonetwork/srv/dut/inspire'
0
6472
And param service = 'CSW'
0
6473
And param version = '2.0.2'
0
6474
And param request = 'GetRecordById'
0
6475
And param id = 'ebd6ea46-ee7b-432f-83c4-058c889a790d'
0
6476
And param elementsetname = 'full'
0
6477
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
6478
When method get
1555
6479
Then status 200
0
6480
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'ebd6ea46-ee7b-432f-83c4-058c889a790d'
2
6481
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
6482
* def title = get response //citation/CI_Citation/title/CharacterString
1
6483
* def email = get response //electronicMailAddress/CharacterString
1
6484
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
6485
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
6486
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
6487
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
6488
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
6489
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
6490
* print organisationpath
0
06:40:09.241 [print] Interprovinciaal Overleg
6491
* print operateson
0
06:40:09.242 [print] [
"http://www.nationaalgeoregister.nl/geonetwork/srv/nl/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=c829abeb-bfac-4224-8332-e7a9a89e692e&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full#MD_DataIdentification",
"http://www.nationaalgeoregister.nl/geonetwork/srv/nl/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=fe45c540-e37d-11e4-b571-0800200c9a66&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full#MD_DataIdentification"
]
6492
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
6493
* eval db.writeln('"ebd6ea46-ee7b-432f-83c4-058c889a790d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
6494
* eval db.writeln('"ebd6ea46-ee7b-432f-83c4-058c889a790d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.192:18]a88b4ed1-49c1-4f91-991e-dc1cc7c575f7
ms: 1458
>>
Background:
6495
* url 'http://nationaalgeoregister.nl/'
1
06:39:54.462 karate.env system property was:
6496
* def mystorage = Java.type('storage.DataStorage')
1
6497
* def db = new mystorage
1
6498
* def db = db.setfeature(karate.info.featureFileName)
4
6499
* def separator = java.lang.System.getProperty("file.separator")
1
6500
* def outputpath = db.outputpath()
1
6501
* eval db.ensureDirectory(outputpath)
1
6502
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
6503
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
6504
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
6505
Given path 'geonetwork/srv/dut/inspire'
0
6506
And param service = 'CSW'
0
6507
And param version = '2.0.2'
0
6508
And param request = 'GetRecordById'
0
6509
And param id = 'a88b4ed1-49c1-4f91-991e-dc1cc7c575f7'
0
6510
And param elementsetname = 'full'
0
6511
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
6512
When method get
1449
6513
Then status 200
0
6514
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'a88b4ed1-49c1-4f91-991e-dc1cc7c575f7'
1
6515
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
6516
* def title = get response //citation/CI_Citation/title/CharacterString
0
6517
* def email = get response //electronicMailAddress/CharacterString
0
6518
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
6519
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
6520
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
6521
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
6522
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
6523
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
6524
* print organisationpath
0
06:40:09.137 [print] Interprovinciaal Overleg
6525
* print operateson
0
06:40:09.137 [print] [
"http://www.nationaalgeoregister.nl/geonetwork/srv/nl/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=8e986f37-74d7-4b6c-8026-87c960456423&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full#MD_DataIdentification",
"http://www.nationaalgeoregister.nl/geonetwork/srv/nl/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=afc450bd-65b3-4e59-b0fb-619869bf6ada&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full#MD_DataIdentification"
]
6526
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
6527
* eval db.writeln('"a88b4ed1-49c1-4f91-991e-dc1cc7c575f7","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
6528
* eval db.writeln('"a88b4ed1-49c1-4f91-991e-dc1cc7c575f7","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.193:18]1bd24d1e-aa13-4395-809e-893570f7c651
ms: 1552
>>
Background:
6529
* url 'http://nationaalgeoregister.nl/'
1
06:39:54.462 karate.env system property was:
6530
* def mystorage = Java.type('storage.DataStorage')
1
6531
* def db = new mystorage
1
6532
* def db = db.setfeature(karate.info.featureFileName)
4
6533
* def separator = java.lang.System.getProperty("file.separator")
1
6534
* def outputpath = db.outputpath()
1
6535
* eval db.ensureDirectory(outputpath)
1
6536
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
6537
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
6538
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
6539
Given path 'geonetwork/srv/dut/inspire'
0
6540
And param service = 'CSW'
0
6541
And param version = '2.0.2'
0
6542
And param request = 'GetRecordById'
0
6543
And param id = '1bd24d1e-aa13-4395-809e-893570f7c651'
1
6544
And param elementsetname = 'full'
0
6545
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
6546
When method get
1540
6547
Then status 200
0
6548
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '1bd24d1e-aa13-4395-809e-893570f7c651'
1
6549
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
6550
* def title = get response //citation/CI_Citation/title/CharacterString
0
6551
* def email = get response //electronicMailAddress/CharacterString
1
6552
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
6553
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
6554
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
6555
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
6556
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
6557
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
6558
* print organisationpath
0
06:40:09.241 [print] Beheer PDOK
6559
* print operateson
0
06:40:09.241 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=c935f2ab-9b65-4dc4-94a0-73aeb840a941#MD_DataIdentification
6560
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
6561
* eval db.writeln('"1bd24d1e-aa13-4395-809e-893570f7c651","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
6562
* eval db.writeln('"1bd24d1e-aa13-4395-809e-893570f7c651","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.194:18]f917ffa9-1531-48ea-867e-0d413d85b05a
ms: 1399
>>
Background:
6563
* url 'http://nationaalgeoregister.nl/'
1
06:39:54.462 karate.env system property was:
6564
* def mystorage = Java.type('storage.DataStorage')
1
6565
* def db = new mystorage
1
6566
* def db = db.setfeature(karate.info.featureFileName)
4
6567
* def separator = java.lang.System.getProperty("file.separator")
1
6568
* def outputpath = db.outputpath()
1
6569
* eval db.ensureDirectory(outputpath)
1
6570
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
6571
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
6572
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
6573
Given path 'geonetwork/srv/dut/inspire'
0
6574
And param service = 'CSW'
0
6575
And param version = '2.0.2'
0
6576
And param request = 'GetRecordById'
0
6577
And param id = 'f917ffa9-1531-48ea-867e-0d413d85b05a'
0
6578
And param elementsetname = 'full'
0
6579
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
6580
When method get
1386
6581
Then status 200
0
6582
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'f917ffa9-1531-48ea-867e-0d413d85b05a'
1
6583
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
6584
* def title = get response //citation/CI_Citation/title/CharacterString
0
6585
* def email = get response //electronicMailAddress/CharacterString
0
6586
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
6587
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
6588
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
6589
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
6590
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
6591
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
6592
* print organisationpath
0
06:40:09.102 [print] Beheer PDOK
6593
* print operateson
0
06:40:09.102 [print] [
"http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=c4bed072-0fda-47b8-96fa-457a938b88fc",
"http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=c4b137b8-2317-42c2-aced-204c4216d68d",
"http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=3229e4d7-4bcd-4b94-819d-8e62de69ce2e"
]
6594
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
6595
* eval db.writeln('"f917ffa9-1531-48ea-867e-0d413d85b05a","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
6596
* eval db.writeln('"f917ffa9-1531-48ea-867e-0d413d85b05a","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
5
Scenario Outline: [1.195:18]18e052b6-dce6-11e3-9e6e-901b0e19e163
ms: 1625
>>
Background:
6597
* url 'http://nationaalgeoregister.nl/'
1
06:39:54.462 karate.env system property was:
6598
* def mystorage = Java.type('storage.DataStorage')
1
6599
* def db = new mystorage
1
6600
* def db = db.setfeature(karate.info.featureFileName)
4
6601
* def separator = java.lang.System.getProperty("file.separator")
1
6602
* def outputpath = db.outputpath()
1
6603
* eval db.ensureDirectory(outputpath)
1
6604
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
6605
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
6606
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
6607
Given path 'geonetwork/srv/dut/inspire'
1
6608
And param service = 'CSW'
0
6609
And param version = '2.0.2'
0
6610
And param request = 'GetRecordById'
0
6611
And param id = '18e052b6-dce6-11e3-9e6e-901b0e19e163'
1
6612
And param elementsetname = 'full'
0
6613
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
6614
When method get
1613
6615
Then status 200
0
6616
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '18e052b6-dce6-11e3-9e6e-901b0e19e163'
2
6617
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
6618
* def title = get response //citation/CI_Citation/title/CharacterString
1
6619
* def email = get response //electronicMailAddress/CharacterString
1
6620
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
6621
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
1
6622
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
1
6623
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
6624
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
6625
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
6626
* print organisationpath
0
06:40:09.411 [print] Koninklijk Nederlands Meteorologisch Instituut (KNMI)
6627
* print operateson
0
06:40:09.411 [print] [
"http://data.knmi.nl/inspire/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=b59f06c0-dce5-11e3-9c10-901b0e19e163&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full",
"http://data.knmi.nl/inspire/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=64c987ec-dce6-11e3-8563-901b0e19e163&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full",
"http://data.knmi.nl/inspire/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=daa63e4c-dce6-11e3-991e-901b0e19e163&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full",
"http://data.knmi.nl/inspire/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=380aa01e-dce7-11e3-9f07-901b0e19e163&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full"
]
6628
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
6629
* eval db.writeln('"18e052b6-dce6-11e3-9e6e-901b0e19e163","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
6630
* eval db.writeln('"18e052b6-dce6-11e3-9e6e-901b0e19e163","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.196:18]6bd9f72e-dcd2-11e3-ab0a-901b0e19e163
ms: 1659
>>
Background:
6631
* url 'http://nationaalgeoregister.nl/'
1
06:39:54.462 karate.env system property was:
6632
* def mystorage = Java.type('storage.DataStorage')
1
6633
* def db = new mystorage
1
6634
* def db = db.setfeature(karate.info.featureFileName)
4
6635
* def separator = java.lang.System.getProperty("file.separator")
1
6636
* def outputpath = db.outputpath()
1
6637
* eval db.ensureDirectory(outputpath)
1
6638
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
6639
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
6640
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
6641
Given path 'geonetwork/srv/dut/inspire'
3
6642
And param service = 'CSW'
0
6643
And param version = '2.0.2'
0
6644
And param request = 'GetRecordById'
0
6645
And param id = '6bd9f72e-dcd2-11e3-ab0a-901b0e19e163'
0
6646
And param elementsetname = 'full'
0
6647
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
6648
When method get
1643
6649
Then status 200
0
6650
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '6bd9f72e-dcd2-11e3-ab0a-901b0e19e163'
1
6651
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
6652
* def title = get response //citation/CI_Citation/title/CharacterString
1
6653
* def email = get response //electronicMailAddress/CharacterString
1
6654
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
3
6655
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
6656
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
6657
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
6658
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
6659
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
6660
* print organisationpath
0
06:40:09.485 [print] Koninklijk Nederlands Meteorologisch Instituut (KNMI)
6661
* print operateson
0
06:40:09.485 [print] http://data.knmi.nl/inspire/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=380aa01e-dce7-11e3-9f07-901b0e19e163&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full
6662
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
6663
* eval db.writeln('"6bd9f72e-dcd2-11e3-ab0a-901b0e19e163","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
6664
* eval db.writeln('"6bd9f72e-dcd2-11e3-ab0a-901b0e19e163","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.197:18]a2724dae-ebad-4a07-9405-49bddfde3368
ms: 1545
>>
Background:
6665
* url 'http://nationaalgeoregister.nl/'
1
06:39:54.462 karate.env system property was:
6666
* def mystorage = Java.type('storage.DataStorage')
1
6667
* def db = new mystorage
1
6668
* def db = db.setfeature(karate.info.featureFileName)
4
6669
* def separator = java.lang.System.getProperty("file.separator")
1
6670
* def outputpath = db.outputpath()
1
6671
* eval db.ensureDirectory(outputpath)
1
6672
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
6673
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
6674
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
6675
Given path 'geonetwork/srv/dut/inspire'
1
6676
And param service = 'CSW'
0
6677
And param version = '2.0.2'
0
6678
And param request = 'GetRecordById'
0
6679
And param id = 'a2724dae-ebad-4a07-9405-49bddfde3368'
0
6680
And param elementsetname = 'full'
0
6681
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
6682
When method get
1535
6683
Then status 200
0
6684
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'a2724dae-ebad-4a07-9405-49bddfde3368'
1
6685
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
6686
* def title = get response //citation/CI_Citation/title/CharacterString
0
6687
* def email = get response //electronicMailAddress/CharacterString
0
6688
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
6689
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
6690
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
6691
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
6692
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
6693
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
6694
* print organisationpath
0
06:40:09.476 [print] Beheer PDOK
6695
* print operateson
0
06:40:09.476 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=5996e444-f7f3-40d2-b485-8b9af6e8aa89#MD_DataIdentification
6696
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
6697
* eval db.writeln('"a2724dae-ebad-4a07-9405-49bddfde3368","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
6698
* eval db.writeln('"a2724dae-ebad-4a07-9405-49bddfde3368","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.198:18]b0119753-5625-4500-9df3-13823ff9868f
ms: 1646
>>
Background:
6699
* url 'http://nationaalgeoregister.nl/'
1
06:39:54.462 karate.env system property was:
6700
* def mystorage = Java.type('storage.DataStorage')
1
6701
* def db = new mystorage
1
6702
* def db = db.setfeature(karate.info.featureFileName)
4
6703
* def separator = java.lang.System.getProperty("file.separator")
1
6704
* def outputpath = db.outputpath()
1
6705
* eval db.ensureDirectory(outputpath)
1
6706
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
6707
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
6708
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
6709
Given path 'geonetwork/srv/dut/inspire'
0
6710
And param service = 'CSW'
0
6711
And param version = '2.0.2'
0
6712
And param request = 'GetRecordById'
0
6713
And param id = 'b0119753-5625-4500-9df3-13823ff9868f'
0
6714
And param elementsetname = 'full'
0
6715
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
6716
When method get
1625
6717
Then status 200
0
6718
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'b0119753-5625-4500-9df3-13823ff9868f'
2
6719
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
2
6720
* def title = get response //citation/CI_Citation/title/CharacterString
2
6721
* def email = get response //electronicMailAddress/CharacterString
2
6722
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
2
6723
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
1
6724
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
1
6725
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
1
6726
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
1
6727
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
2
6728
* print organisationpath
0
06:40:09.620 [print] Beheer PDOK
6729
* print operateson
0
06:40:09.620 [print] http://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=977e0e94-7aa9-4784-b2da-eaec44adb61b#MD_DataIdentification
6730
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
2
6731
* eval db.writeln('"b0119753-5625-4500-9df3-13823ff9868f","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
6732
* eval db.writeln('"b0119753-5625-4500-9df3-13823ff9868f","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.199:18]68505be5-45c4-4889-a82a-125043bbdc44
ms: 1535
>>
Background:
6733
* url 'http://nationaalgeoregister.nl/'
1
06:39:54.462 karate.env system property was:
6734
* def mystorage = Java.type('storage.DataStorage')
1
6735
* def db = new mystorage
1
6736
* def db = db.setfeature(karate.info.featureFileName)
4
6737
* def separator = java.lang.System.getProperty("file.separator")
1
6738
* def outputpath = db.outputpath()
1
6739
* eval db.ensureDirectory(outputpath)
1
6740
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
6741
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
6742
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
6743
Given path 'geonetwork/srv/dut/inspire'
1
6744
And param service = 'CSW'
0
6745
And param version = '2.0.2'
0
6746
And param request = 'GetRecordById'
0
6747
And param id = '68505be5-45c4-4889-a82a-125043bbdc44'
1
6748
And param elementsetname = 'full'
0
6749
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
6750
When method get
1523
6751
Then status 200
0
6752
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '68505be5-45c4-4889-a82a-125043bbdc44'
2
6753
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
6754
* def title = get response //citation/CI_Citation/title/CharacterString
1
6755
* def email = get response //electronicMailAddress/CharacterString
1
6756
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
6757
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
1
6758
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
1
6759
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
6760
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
6761
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
6762
* print organisationpath
0
06:40:09.584 [print] TNO Geologische Dienst Nederland
6763
* print operateson
0
06:40:09.585 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&ID=6c1cf452-8c62-4046-99ab-640a5e184f9c&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full#MD_DataIdentification
6764
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
6765
* eval db.writeln('"68505be5-45c4-4889-a82a-125043bbdc44","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
6766
* eval db.writeln('"68505be5-45c4-4889-a82a-125043bbdc44","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.200:18]a12ae6ca-b755-4707-884f-95c0d66f431a
ms: 1564
>>
Background:
6767
* url 'http://nationaalgeoregister.nl/'
1
06:39:54.462 karate.env system property was:
6768
* def mystorage = Java.type('storage.DataStorage')
1
6769
* def db = new mystorage
1
6770
* def db = db.setfeature(karate.info.featureFileName)
4
6771
* def separator = java.lang.System.getProperty("file.separator")
1
6772
* def outputpath = db.outputpath()
1
6773
* eval db.ensureDirectory(outputpath)
1
6774
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
6775
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
6776
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
6777
Given path 'geonetwork/srv/dut/inspire'
1
6778
And param service = 'CSW'
0
6779
And param version = '2.0.2'
0
6780
And param request = 'GetRecordById'
0
6781
And param id = 'a12ae6ca-b755-4707-884f-95c0d66f431a'
1
6782
And param elementsetname = 'full'
0
6783
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
6784
When method get
1550
6785
Then status 200
0
6786
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'a12ae6ca-b755-4707-884f-95c0d66f431a'
4
6787
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
6788
* def title = get response //citation/CI_Citation/title/CharacterString
0
6789
* def email = get response //electronicMailAddress/CharacterString
0
6790
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
6791
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
6792
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
6793
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
6794
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
6795
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
6796
* print organisationpath
0
06:40:09.656 [print] Ministerie van Defensie, Koninklijke Marine, Dienst der Hydrografie
6797
* print operateson
0
06:40:09.656 [print] https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=f44dac86-2228-412f-8355-e56446ca9933#MD_DataIdentification
6798
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
6799
* eval db.writeln('"a12ae6ca-b755-4707-884f-95c0d66f431a","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
6800
* eval db.writeln('"a12ae6ca-b755-4707-884f-95c0d66f431a","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.201:18]627b50bf-2e33-4beb-a314-ff8c0fe8912e
ms: 1745
>>
Background:
6801
* url 'http://nationaalgeoregister.nl/'
1
06:39:54.462 karate.env system property was:
6802
* def mystorage = Java.type('storage.DataStorage')
1
6803
* def db = new mystorage
1
6804
* def db = db.setfeature(karate.info.featureFileName)
4
6805
* def separator = java.lang.System.getProperty("file.separator")
1
6806
* def outputpath = db.outputpath()
1
6807
* eval db.ensureDirectory(outputpath)
1
6808
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
6809
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
6810
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
6811
Given path 'geonetwork/srv/dut/inspire'
0
6812
And param service = 'CSW'
0
6813
And param version = '2.0.2'
0
6814
And param request = 'GetRecordById'
0
6815
And param id = '627b50bf-2e33-4beb-a314-ff8c0fe8912e'
0
6816
And param elementsetname = 'full'
0
6817
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
6818
When method get
1734
6819
Then status 200
0
6820
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '627b50bf-2e33-4beb-a314-ff8c0fe8912e'
1
6821
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
6822
* def title = get response //citation/CI_Citation/title/CharacterString
0
6823
* def email = get response //electronicMailAddress/CharacterString
0
6824
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
6825
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
1
6826
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
6827
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
6828
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
6829
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
6830
* print organisationpath
0
06:40:09.881 [print] Beheer PDOK
6831
* print operateson
0
06:40:09.881 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=eu-2c7040b-c448-451b-bf15-f2416ecaadd1#MD_DataIdentification
6832
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
6833
* eval db.writeln('"627b50bf-2e33-4beb-a314-ff8c0fe8912e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
6834
* eval db.writeln('"627b50bf-2e33-4beb-a314-ff8c0fe8912e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.202:18]95e2c712-1b91-4f24-9453-c56b95227717
ms: 1658
>>
Background:
6835
* url 'http://nationaalgeoregister.nl/'
1
06:39:54.462 karate.env system property was:
6836
* def mystorage = Java.type('storage.DataStorage')
1
6837
* def db = new mystorage
1
6838
* def db = db.setfeature(karate.info.featureFileName)
4
6839
* def separator = java.lang.System.getProperty("file.separator")
1
6840
* def outputpath = db.outputpath()
1
6841
* eval db.ensureDirectory(outputpath)
1
6842
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
6843
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
6844
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
6845
Given path 'geonetwork/srv/dut/inspire'
0
6846
And param service = 'CSW'
0
6847
And param version = '2.0.2'
0
6848
And param request = 'GetRecordById'
0
6849
And param id = '95e2c712-1b91-4f24-9453-c56b95227717'
0
6850
And param elementsetname = 'full'
0
6851
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
6852
When method get
1647
6853
Then status 200
0
6854
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '95e2c712-1b91-4f24-9453-c56b95227717'
1
6855
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
6856
* def title = get response //citation/CI_Citation/title/CharacterString
1
6857
* def email = get response //electronicMailAddress/CharacterString
1
6858
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
6859
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
1
6860
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
6861
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
6862
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
6863
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
6864
* print organisationpath
0
06:40:09.979 [print]
6865
* print operateson
0
06:40:09.979 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=f2f86edf-ac3a-48e8-9292-0544da2d7645#MD_DataIdentification
6866
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
6867
* eval db.writeln('"95e2c712-1b91-4f24-9453-c56b95227717","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
6868
* eval db.writeln('"95e2c712-1b91-4f24-9453-c56b95227717","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.203:18]c21c6bf5-8899-4b46-8986-0f65eca05ed0
ms: 1613
>>
Background:
6869
* url 'http://nationaalgeoregister.nl/'
1
06:39:54.462 karate.env system property was:
6870
* def mystorage = Java.type('storage.DataStorage')
1
6871
* def db = new mystorage
1
6872
* def db = db.setfeature(karate.info.featureFileName)
4
6873
* def separator = java.lang.System.getProperty("file.separator")
1
6874
* def outputpath = db.outputpath()
1
6875
* eval db.ensureDirectory(outputpath)
1
6876
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
6877
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
6878
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
6879
Given path 'geonetwork/srv/dut/inspire'
0
6880
And param service = 'CSW'
0
6881
And param version = '2.0.2'
0
6882
And param request = 'GetRecordById'
0
6883
And param id = 'c21c6bf5-8899-4b46-8986-0f65eca05ed0'
0
6884
And param elementsetname = 'full'
0
6885
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
6886
When method get
1602
6887
Then status 200
0
6888
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'c21c6bf5-8899-4b46-8986-0f65eca05ed0'
1
6889
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
6890
* def title = get response //citation/CI_Citation/title/CharacterString
1
6891
* def email = get response //electronicMailAddress/CharacterString
1
6892
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
6893
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
1
6894
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
1
6895
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
1
6896
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
1
6897
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
6898
* print organisationpath
0
06:40:09.939 [print] Beheer PDOK
6899
* print operateson
0
06:40:09.940 [print] [
"https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=uwwtd-9d8e-4758-83fa-28b057f185e3#MD_DataIdentification",
"https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=uwwtd-9d8e-4758-83fa-28b057f185e2#MD_DataIdentification",
"https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=uwwtd-9d8e-4758-83fa-28b057f185e1#MD_DataIdentification"
]
6900
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
6901
* eval db.writeln('"c21c6bf5-8899-4b46-8986-0f65eca05ed0","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
6902
* eval db.writeln('"c21c6bf5-8899-4b46-8986-0f65eca05ed0","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.204:18]d293204f-6581-4b0a-811b-1dcce97adedd
ms: 1507
>>
Background:
6903
* url 'http://nationaalgeoregister.nl/'
1
06:39:54.462 karate.env system property was:
6904
* def mystorage = Java.type('storage.DataStorage')
1
6905
* def db = new mystorage
1
6906
* def db = db.setfeature(karate.info.featureFileName)
4
6907
* def separator = java.lang.System.getProperty("file.separator")
1
6908
* def outputpath = db.outputpath()
1
6909
* eval db.ensureDirectory(outputpath)
1
6910
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
6911
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
6912
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
6913
Given path 'geonetwork/srv/dut/inspire'
0
6914
And param service = 'CSW'
0
6915
And param version = '2.0.2'
0
6916
And param request = 'GetRecordById'
0
6917
And param id = 'd293204f-6581-4b0a-811b-1dcce97adedd'
1
6918
And param elementsetname = 'full'
0
6919
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
6920
When method get
1496
6921
Then status 200
0
6922
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'd293204f-6581-4b0a-811b-1dcce97adedd'
2
6923
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
6924
* def title = get response //citation/CI_Citation/title/CharacterString
0
6925
* def email = get response //electronicMailAddress/CharacterString
0
6926
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
6927
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
6928
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
6929
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
6930
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
6931
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
6932
* print organisationpath
0
06:40:09.863 [print] Beheer PDOK
6933
* print operateson
0
06:40:09.863 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=e536d943-ecff-4d7a-9500-cc31a263a6af#MD_DataIdentification
6934
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
6935
* eval db.writeln('"d293204f-6581-4b0a-811b-1dcce97adedd","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
6936
* eval db.writeln('"d293204f-6581-4b0a-811b-1dcce97adedd","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.205:18]1b9259fc-dc35-11e3-961c-901b0e19e163
ms: 1705
>>
Background:
6937
* url 'http://nationaalgeoregister.nl/'
1
06:39:54.462 karate.env system property was:
6938
* def mystorage = Java.type('storage.DataStorage')
1
6939
* def db = new mystorage
1
6940
* def db = db.setfeature(karate.info.featureFileName)
4
6941
* def separator = java.lang.System.getProperty("file.separator")
1
6942
* def outputpath = db.outputpath()
1
6943
* eval db.ensureDirectory(outputpath)
1
6944
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
6945
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
6946
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
6947
Given path 'geonetwork/srv/dut/inspire'
1
6948
And param service = 'CSW'
0
6949
And param version = '2.0.2'
0
6950
And param request = 'GetRecordById'
0
6951
And param id = '1b9259fc-dc35-11e3-961c-901b0e19e163'
1
6952
And param elementsetname = 'full'
0
6953
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
6954
When method get
1689
6955
Then status 200
0
6956
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '1b9259fc-dc35-11e3-961c-901b0e19e163'
2
6957
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
6958
* def title = get response //citation/CI_Citation/title/CharacterString
1
6959
* def email = get response //electronicMailAddress/CharacterString
1
6960
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
6961
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
1
6962
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
1
6963
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
1
6964
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
1
6965
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
6966
* print organisationpath
0
06:40:10.145 [print] Koninklijk Nederlands Meteorologisch Instituut (KNMI)
6967
* print operateson
0
06:40:10.145 [print] http://data.knmi.nl/inspire/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=64c987ec-dce6-11e3-8563-901b0e19e163&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full
6968
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
6969
* eval db.writeln('"1b9259fc-dc35-11e3-961c-901b0e19e163","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
6970
* eval db.writeln('"1b9259fc-dc35-11e3-961c-901b0e19e163","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.206:18]ee543323-0fe4-4353-9161-eda61ff26c07
ms: 1869
>>
Background:
6971
* url 'http://nationaalgeoregister.nl/'
1
06:39:54.462 karate.env system property was:
6972
* def mystorage = Java.type('storage.DataStorage')
1
6973
* def db = new mystorage
1
6974
* def db = db.setfeature(karate.info.featureFileName)
4
6975
* def separator = java.lang.System.getProperty("file.separator")
1
6976
* def outputpath = db.outputpath()
1
6977
* eval db.ensureDirectory(outputpath)
1
6978
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
6979
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
6980
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
6981
Given path 'geonetwork/srv/dut/inspire'
0
6982
And param service = 'CSW'
0
6983
And param version = '2.0.2'
0
6984
And param request = 'GetRecordById'
0
6985
And param id = 'ee543323-0fe4-4353-9161-eda61ff26c07'
1
6986
And param elementsetname = 'full'
0
6987
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
6988
When method get
1851
6989
Then status 200
0
6990
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'ee543323-0fe4-4353-9161-eda61ff26c07'
2
6991
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
6992
* def title = get response //citation/CI_Citation/title/CharacterString
1
6993
* def email = get response //electronicMailAddress/CharacterString
1
6994
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
6995
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
1
6996
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
1
6997
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
6998
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
6999
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
7000
* print organisationpath
0
06:40:10.324 [print] Beheer PDOK
7001
* print operateson
0
06:40:10.324 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=3373be8c-8539-4763-bc22-eba23ac1898f#MD_DataIdentification
7002
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
7003
* eval db.writeln('"ee543323-0fe4-4353-9161-eda61ff26c07","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
3
7004
* eval db.writeln('"ee543323-0fe4-4353-9161-eda61ff26c07","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
6
Scenario Outline: [1.207:18]49ff0584-a173-4098-824c-119edf8447f7
ms: 1573
>>
Background:
7005
* url 'http://nationaalgeoregister.nl/'
1
06:39:54.462 karate.env system property was:
7006
* def mystorage = Java.type('storage.DataStorage')
1
7007
* def db = new mystorage
1
7008
* def db = db.setfeature(karate.info.featureFileName)
4
7009
* def separator = java.lang.System.getProperty("file.separator")
1
7010
* def outputpath = db.outputpath()
1
7011
* eval db.ensureDirectory(outputpath)
1
7012
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
7013
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
7014
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
7015
Given path 'geonetwork/srv/dut/inspire'
1
7016
And param service = 'CSW'
0
7017
And param version = '2.0.2'
0
7018
And param request = 'GetRecordById'
0
7019
And param id = '49ff0584-a173-4098-824c-119edf8447f7'
1
7020
And param elementsetname = 'full'
0
7021
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
7022
When method get
1563
7023
Then status 200
0
7024
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '49ff0584-a173-4098-824c-119edf8447f7'
1
7025
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
7026
* def title = get response //citation/CI_Citation/title/CharacterString
0
7027
* def email = get response //electronicMailAddress/CharacterString
0
7028
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
7029
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
7030
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
7031
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
7032
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
7033
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
7034
* print organisationpath
0
06:40:10.166 [print] Rijksdienst voor het Cultureel Erfgoed
7035
* print operateson
0
06:40:10.166 [print] [
"http://www.nationaalgeoregister.nl/geonetwork/srv/nl/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=6f84efeb-fc1d-4565-a721-80735ea57dbd&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full",
"http://www.nationaalgeoregister.nl/geonetwork/srv/nl/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=dfe5b146-354f-4bc7-99b1-6713817afac9&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full",
"http://www.nationaalgeoregister.nl/geonetwork/srv/nl/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=4e2ef670-cddd-11dd-ad8b-0800200c9a66&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full",
"http://www.nationaalgeoregister.nl/geonetwork/srv/nl/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=88a3c1ae-902e-4efa-8663-ddd836101929&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full"
]
7036
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
7037
* eval db.writeln('"49ff0584-a173-4098-824c-119edf8447f7","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
7038
* eval db.writeln('"49ff0584-a173-4098-824c-119edf8447f7","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.208:18]c99b1291-c51f-49c8-902d-5bd4148cbbde
ms: 1705
>>
Background:
7039
* url 'http://nationaalgeoregister.nl/'
1
06:39:54.462 karate.env system property was:
7040
* def mystorage = Java.type('storage.DataStorage')
1
7041
* def db = new mystorage
1
7042
* def db = db.setfeature(karate.info.featureFileName)
4
7043
* def separator = java.lang.System.getProperty("file.separator")
1
7044
* def outputpath = db.outputpath()
1
7045
* eval db.ensureDirectory(outputpath)
1
7046
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
7047
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
7048
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
7049
Given path 'geonetwork/srv/dut/inspire'
0
7050
And param service = 'CSW'
0
7051
And param version = '2.0.2'
0
7052
And param request = 'GetRecordById'
0
7053
And param id = 'c99b1291-c51f-49c8-902d-5bd4148cbbde'
0
7054
And param elementsetname = 'full'
0
7055
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
7056
When method get
1694
7057
Then status 200
0
7058
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'c99b1291-c51f-49c8-902d-5bd4148cbbde'
1
7059
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
7060
* def title = get response //citation/CI_Citation/title/CharacterString
0
7061
* def email = get response //electronicMailAddress/CharacterString
0
7062
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
7063
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
7064
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
7065
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
7066
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
7067
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
7068
* print organisationpath
0
06:40:10.352 [print] Interprovinciaal Overleg
7069
* print operateson
0
06:40:10.352 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/nl/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=88e2a6fa-b296-4ff4-bc30-fb87e2c1627e&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full#MD_DataIdentification
7070
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
7071
* eval db.writeln('"c99b1291-c51f-49c8-902d-5bd4148cbbde","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
7072
* eval db.writeln('"c99b1291-c51f-49c8-902d-5bd4148cbbde","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.209:18]76342a6d-452e-4e21-b5c0-81ff7b1be90e
ms: 1670
>>
Background:
7073
* url 'http://nationaalgeoregister.nl/'
1
06:39:54.462 karate.env system property was:
7074
* def mystorage = Java.type('storage.DataStorage')
1
7075
* def db = new mystorage
1
7076
* def db = db.setfeature(karate.info.featureFileName)
4
7077
* def separator = java.lang.System.getProperty("file.separator")
1
7078
* def outputpath = db.outputpath()
1
7079
* eval db.ensureDirectory(outputpath)
1
7080
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
7081
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
7082
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
7083
Given path 'geonetwork/srv/dut/inspire'
1
7084
And param service = 'CSW'
0
7085
And param version = '2.0.2'
0
7086
And param request = 'GetRecordById'
0
7087
And param id = '76342a6d-452e-4e21-b5c0-81ff7b1be90e'
1
7088
And param elementsetname = 'full'
0
7089
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
7090
When method get
1656
7091
Then status 200
0
7092
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '76342a6d-452e-4e21-b5c0-81ff7b1be90e'
1
7093
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
7094
* def title = get response //citation/CI_Citation/title/CharacterString
1
7095
* def email = get response //electronicMailAddress/CharacterString
1
7096
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
7097
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
1
7098
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
1
7099
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
1
7100
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
1
7101
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
7102
* print organisationpath
0
06:40:10.404 [print] TNO Geologische Dienst Nederland
7103
* print operateson
0
06:40:10.404 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&ID=9dd9bf30-36e6-45ae-b368-bdef2720bdde&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full#MD_DataIdentification
7104
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
7105
* eval db.writeln('"76342a6d-452e-4e21-b5c0-81ff7b1be90e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
3
7106
* eval db.writeln('"76342a6d-452e-4e21-b5c0-81ff7b1be90e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.210:18]6d2fce74-fb25-4322-ab25-1be8a3bc7fd0
ms: 1764
>>
Background:
7107
* url 'http://nationaalgeoregister.nl/'
1
06:39:54.462 karate.env system property was:
7108
* def mystorage = Java.type('storage.DataStorage')
1
7109
* def db = new mystorage
1
7110
* def db = db.setfeature(karate.info.featureFileName)
4
7111
* def separator = java.lang.System.getProperty("file.separator")
1
7112
* def outputpath = db.outputpath()
1
7113
* eval db.ensureDirectory(outputpath)
1
7114
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
7115
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
7116
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
7117
Given path 'geonetwork/srv/dut/inspire'
1
7118
And param service = 'CSW'
0
7119
And param version = '2.0.2'
0
7120
And param request = 'GetRecordById'
0
7121
And param id = '6d2fce74-fb25-4322-ab25-1be8a3bc7fd0'
1
7122
And param elementsetname = 'full'
0
7123
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
7124
When method get
1746
7125
Then status 200
0
7126
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '6d2fce74-fb25-4322-ab25-1be8a3bc7fd0'
2
7127
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
7128
* def title = get response //citation/CI_Citation/title/CharacterString
0
7129
* def email = get response //electronicMailAddress/CharacterString
0
7130
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
7131
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
7132
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
7133
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
7134
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
4
7135
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
7136
* print organisationpath
5
06:40:10.522 [print] Ministerie van Defensie, Koninklijke Marine, Dienst der Hydrografie
7137
* print operateson
0
06:40:10.526 [print] https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=a322184d-6285-4856-bb78-f450b30ffc0e#MD_DataIdentification
7138
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
7139
* eval db.writeln('"6d2fce74-fb25-4322-ab25-1be8a3bc7fd0","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
7140
* eval db.writeln('"6d2fce74-fb25-4322-ab25-1be8a3bc7fd0","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.211:18]635bdc85-c596-4afb-ab07-de20c662310c
ms: 1568
>>
Background:
7141
* url 'http://nationaalgeoregister.nl/'
1
06:39:54.462 karate.env system property was:
7142
* def mystorage = Java.type('storage.DataStorage')
1
7143
* def db = new mystorage
1
7144
* def db = db.setfeature(karate.info.featureFileName)
4
7145
* def separator = java.lang.System.getProperty("file.separator")
1
7146
* def outputpath = db.outputpath()
1
7147
* eval db.ensureDirectory(outputpath)
1
7148
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
7149
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
7150
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
7151
Given path 'geonetwork/srv/dut/inspire'
1
7152
And param service = 'CSW'
0
7153
And param version = '2.0.2'
0
7154
And param request = 'GetRecordById'
0
7155
And param id = '635bdc85-c596-4afb-ab07-de20c662310c'
1
7156
And param elementsetname = 'full'
0
7157
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
7158
When method get
1554
7159
Then status 200
0
7160
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '635bdc85-c596-4afb-ab07-de20c662310c'
1
7161
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
7162
* def title = get response //citation/CI_Citation/title/CharacterString
1
7163
* def email = get response //electronicMailAddress/CharacterString
1
7164
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
2
7165
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
7166
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
7167
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
7168
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
7169
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
7170
* print organisationpath
0
06:40:10.402 [print] Beheer PDOK
7171
* print operateson
0
06:40:10.402 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=791adbe3-772f-42cb-a3be-5a617bcecef0#MD_DataIdentification
7172
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
7173
* eval db.writeln('"635bdc85-c596-4afb-ab07-de20c662310c","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
7174
* eval db.writeln('"635bdc85-c596-4afb-ab07-de20c662310c","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
3
Scenario Outline: [1.212:18]37308f90-e619-4b62-ae9e-e656bb3f1649
ms: 1649
>>
Background:
7175
* url 'http://nationaalgeoregister.nl/'
1
06:39:54.462 karate.env system property was:
7176
* def mystorage = Java.type('storage.DataStorage')
1
7177
* def db = new mystorage
1
7178
* def db = db.setfeature(karate.info.featureFileName)
4
7179
* def separator = java.lang.System.getProperty("file.separator")
1
7180
* def outputpath = db.outputpath()
1
7181
* eval db.ensureDirectory(outputpath)
1
7182
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
7183
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
7184
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
7185
Given path 'geonetwork/srv/dut/inspire'
0
7186
And param service = 'CSW'
0
7187
And param version = '2.0.2'
0
7188
And param request = 'GetRecordById'
0
7189
And param id = '37308f90-e619-4b62-ae9e-e656bb3f1649'
0
7190
And param elementsetname = 'full'
0
7191
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
7192
When method get
1628
7193
Then status 200
0
7194
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '37308f90-e619-4b62-ae9e-e656bb3f1649'
3
7195
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
7196
* def title = get response //citation/CI_Citation/title/CharacterString
0
7197
* def email = get response //electronicMailAddress/CharacterString
7
7198
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
7199
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
7200
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
3
7201
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
7202
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
7203
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
7204
* print organisationpath
0
06:40:10.533 [print]
7205
* print operateson
0
06:40:10.533 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=8b0b02a0-1e1b-4cda-bcfe-6fa0f738e38f#MD_DataIdentification
7206
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
7207
* eval db.writeln('"37308f90-e619-4b62-ae9e-e656bb3f1649","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
7208
* eval db.writeln('"37308f90-e619-4b62-ae9e-e656bb3f1649","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.213:18]d2a05dd5-98e8-4f9c-8ba2-7fe2d5c7c507
ms: 1483
>>
Background:
7209
* url 'http://nationaalgeoregister.nl/'
1
06:39:54.462 karate.env system property was:
7210
* def mystorage = Java.type('storage.DataStorage')
1
7211
* def db = new mystorage
1
7212
* def db = db.setfeature(karate.info.featureFileName)
4
7213
* def separator = java.lang.System.getProperty("file.separator")
1
7214
* def outputpath = db.outputpath()
1
7215
* eval db.ensureDirectory(outputpath)
1
7216
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
7217
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
7218
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
7219
Given path 'geonetwork/srv/dut/inspire'
1
7220
And param service = 'CSW'
0
7221
And param version = '2.0.2'
0
7222
And param request = 'GetRecordById'
0
7223
And param id = 'd2a05dd5-98e8-4f9c-8ba2-7fe2d5c7c507'
1
7224
And param elementsetname = 'full'
0
7225
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
7226
When method get
1468
7227
Then status 200
0
7228
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'd2a05dd5-98e8-4f9c-8ba2-7fe2d5c7c507'
1
7229
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
7230
* def title = get response //citation/CI_Citation/title/CharacterString
0
7231
* def email = get response //electronicMailAddress/CharacterString
0
7232
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
7233
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
7234
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
7235
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
7236
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
7237
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
7238
* print organisationpath
0
06:40:10.526 [print] Beheer PDOK
7239
* print operateson
0
06:40:10.526 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=3703b249-a0eb-484e-ba7a-10e31a55bcec#MD_DataIdentification
7240
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
7241
* eval db.writeln('"d2a05dd5-98e8-4f9c-8ba2-7fe2d5c7c507","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
4
7242
* eval db.writeln('"d2a05dd5-98e8-4f9c-8ba2-7fe2d5c7c507","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
4
Scenario Outline: [1.214:18]027e3f15-3b58-4570-97bb-779ce3ca947e
ms: 1547
>>
Background:
7243
* url 'http://nationaalgeoregister.nl/'
1
06:39:54.462 karate.env system property was:
7244
* def mystorage = Java.type('storage.DataStorage')
1
7245
* def db = new mystorage
1
7246
* def db = db.setfeature(karate.info.featureFileName)
4
7247
* def separator = java.lang.System.getProperty("file.separator")
1
7248
* def outputpath = db.outputpath()
1
7249
* eval db.ensureDirectory(outputpath)
1
7250
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
7251
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
7252
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
7253
Given path 'geonetwork/srv/dut/inspire'
0
7254
And param service = 'CSW'
0
7255
And param version = '2.0.2'
0
7256
And param request = 'GetRecordById'
0
7257
And param id = '027e3f15-3b58-4570-97bb-779ce3ca947e'
0
7258
And param elementsetname = 'full'
0
7259
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
7260
When method get
1536
7261
Then status 200
0
7262
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '027e3f15-3b58-4570-97bb-779ce3ca947e'
1
7263
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
7264
* def title = get response //citation/CI_Citation/title/CharacterString
0
7265
* def email = get response //electronicMailAddress/CharacterString
0
7266
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
7267
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
7268
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
7269
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
7270
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
7271
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
7272
* print organisationpath
0
06:40:10.652 [print] Beheer PDOK
7273
* print operateson
0
06:40:10.652 [print] https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=5c37d29a-006d-4136-8989-adfc35a1d4a7#MD_DataIdentification
7274
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
7275
* eval db.writeln('"027e3f15-3b58-4570-97bb-779ce3ca947e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
7276
* eval db.writeln('"027e3f15-3b58-4570-97bb-779ce3ca947e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.215:18]2650d49b-7d9a-49b5-b748-a0372cd9b5cf
ms: 1614
>>
Background:
7277
* url 'http://nationaalgeoregister.nl/'
1
06:39:54.462 karate.env system property was:
7278
* def mystorage = Java.type('storage.DataStorage')
1
7279
* def db = new mystorage
1
7280
* def db = db.setfeature(karate.info.featureFileName)
4
7281
* def separator = java.lang.System.getProperty("file.separator")
1
7282
* def outputpath = db.outputpath()
1
7283
* eval db.ensureDirectory(outputpath)
1
7284
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
7285
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
7286
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
7287
Given path 'geonetwork/srv/dut/inspire'
0
7288
And param service = 'CSW'
0
7289
And param version = '2.0.2'
0
7290
And param request = 'GetRecordById'
0
7291
And param id = '2650d49b-7d9a-49b5-b748-a0372cd9b5cf'
0
7292
And param elementsetname = 'full'
0
7293
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
7294
When method get
1601
7295
Then status 200
0
7296
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '2650d49b-7d9a-49b5-b748-a0372cd9b5cf'
2
7297
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
7298
* def title = get response //citation/CI_Citation/title/CharacterString
1
7299
* def email = get response //electronicMailAddress/CharacterString
1
7300
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
7301
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
7302
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
7303
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
7304
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
7305
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
7306
* print organisationpath
0
06:40:10.751 [print] Beheer PDOK
7307
* print operateson
0
06:40:10.751 [print] https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=bffcd5d9-02b4-4e7d-991f-a386611cad84#MD_DataIdentification
7308
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
7309
* eval db.writeln('"2650d49b-7d9a-49b5-b748-a0372cd9b5cf","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
7310
* eval db.writeln('"2650d49b-7d9a-49b5-b748-a0372cd9b5cf","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.216:18]777f41ee-8269-4bbc-b0e4-f889c62be099
ms: 1811
>>
Background:
7311
* url 'http://nationaalgeoregister.nl/'
1
06:39:54.462 karate.env system property was:
7312
* def mystorage = Java.type('storage.DataStorage')
1
7313
* def db = new mystorage
1
7314
* def db = db.setfeature(karate.info.featureFileName)
4
7315
* def separator = java.lang.System.getProperty("file.separator")
1
7316
* def outputpath = db.outputpath()
1
7317
* eval db.ensureDirectory(outputpath)
1
7318
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
7319
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
7320
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
7321
Given path 'geonetwork/srv/dut/inspire'
0
7322
And param service = 'CSW'
0
7323
And param version = '2.0.2'
0
7324
And param request = 'GetRecordById'
0
7325
And param id = '777f41ee-8269-4bbc-b0e4-f889c62be099'
0
7326
And param elementsetname = 'full'
0
7327
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
7328
When method get
1800
7329
Then status 200
0
7330
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '777f41ee-8269-4bbc-b0e4-f889c62be099'
1
7331
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
7332
* def title = get response //citation/CI_Citation/title/CharacterString
0
7333
* def email = get response //electronicMailAddress/CharacterString
0
7334
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
7335
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
7336
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
7337
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
1
7338
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
7339
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
7340
* print organisationpath
0
06:40:11.009 [print]
7341
* print operateson
0
06:40:11.009 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=50a2c5e6-c8e7-425d-854e-26f578196bc9#MD_DataIdentification
7342
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
7343
* eval db.writeln('"777f41ee-8269-4bbc-b0e4-f889c62be099","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
7344
* eval db.writeln('"777f41ee-8269-4bbc-b0e4-f889c62be099","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.217:18]d7bc97fa-6b4a-4321-a7c4-cd621bc0be77
ms: 1760
>>
Background:
7345
* url 'http://nationaalgeoregister.nl/'
1
06:39:54.462 karate.env system property was:
7346
* def mystorage = Java.type('storage.DataStorage')
1
7347
* def db = new mystorage
1
7348
* def db = db.setfeature(karate.info.featureFileName)
4
7349
* def separator = java.lang.System.getProperty("file.separator")
1
7350
* def outputpath = db.outputpath()
1
7351
* eval db.ensureDirectory(outputpath)
1
7352
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
7353
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
7354
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
7355
Given path 'geonetwork/srv/dut/inspire'
1
7356
And param service = 'CSW'
0
7357
And param version = '2.0.2'
0
7358
And param request = 'GetRecordById'
0
7359
And param id = 'd7bc97fa-6b4a-4321-a7c4-cd621bc0be77'
0
7360
And param elementsetname = 'full'
0
7361
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
7362
When method get
1749
7363
Then status 200
0
7364
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'd7bc97fa-6b4a-4321-a7c4-cd621bc0be77'
2
7365
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
7366
* def title = get response //citation/CI_Citation/title/CharacterString
1
7367
* def email = get response //electronicMailAddress/CharacterString
1
7368
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
7369
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
1
7370
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
7371
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
7372
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
7373
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
7374
* print organisationpath
0
06:40:11.002 [print] Beheer PDOK
7375
* print operateson
0
06:40:11.002 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=e80ad426-1392-4349-9f80-14dae5f1bf57#MD_DataIdentification
7376
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
7377
* eval db.writeln('"d7bc97fa-6b4a-4321-a7c4-cd621bc0be77","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
7378
* eval db.writeln('"d7bc97fa-6b4a-4321-a7c4-cd621bc0be77","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.218:18]ef2a7962-8bb4-483f-ca52-85123f579
ms: 1433
>>
Background:
7379
* url 'http://nationaalgeoregister.nl/'
1
06:39:54.462 karate.env system property was:
7380
* def mystorage = Java.type('storage.DataStorage')
1
7381
* def db = new mystorage
1
7382
* def db = db.setfeature(karate.info.featureFileName)
4
7383
* def separator = java.lang.System.getProperty("file.separator")
1
7384
* def outputpath = db.outputpath()
1
7385
* eval db.ensureDirectory(outputpath)
1
7386
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
7387
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
7388
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
7389
Given path 'geonetwork/srv/dut/inspire'
0
7390
And param service = 'CSW'
0
7391
And param version = '2.0.2'
0
7392
And param request = 'GetRecordById'
0
7393
And param id = 'ef2a7962-8bb4-483f-ca52-85123f579'
0
7394
And param elementsetname = 'full'
0
7395
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
7396
When method get
1424
7397
Then status 200
0
7398
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'ef2a7962-8bb4-483f-ca52-85123f579'
1
7399
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
7400
* def title = get response //citation/CI_Citation/title/CharacterString
0
7401
* def email = get response //electronicMailAddress/CharacterString
0
7402
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
7403
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
7404
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
7405
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
7406
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
7407
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
7408
* print organisationpath
0
06:40:10.676 [print] Informatiehuis Water
7409
* print operateson
0
06:40:10.676 [print] [
"http://www.nationaalgeoregister.nl/geonetwork/srv/nl/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=110f9ec6-4464-462e-9765-83d90cefbeab&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full",
"http://www.nationaalgeoregister.nl/geonetwork/srv/nl/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=891ddc2d-8949-4a45-be96-c65b87c41f13&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full"
]
7410
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
7411
* eval db.writeln('"ef2a7962-8bb4-483f-ca52-85123f579","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
7412
* eval db.writeln('"ef2a7962-8bb4-483f-ca52-85123f579","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.219:18]4b6752ae-65d6-44b5-98ef-1fc30f4fd92d
ms: 1768
>>
Background:
7413
* url 'http://nationaalgeoregister.nl/'
1
06:39:54.462 karate.env system property was:
7414
* def mystorage = Java.type('storage.DataStorage')
1
7415
* def db = new mystorage
1
7416
* def db = db.setfeature(karate.info.featureFileName)
4
7417
* def separator = java.lang.System.getProperty("file.separator")
1
7418
* def outputpath = db.outputpath()
1
7419
* eval db.ensureDirectory(outputpath)
1
7420
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
7421
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
7422
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
7423
Given path 'geonetwork/srv/dut/inspire'
0
7424
And param service = 'CSW'
0
7425
And param version = '2.0.2'
0
7426
And param request = 'GetRecordById'
0
7427
And param id = '4b6752ae-65d6-44b5-98ef-1fc30f4fd92d'
0
7428
And param elementsetname = 'full'
0
7429
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
7430
When method get
1680
7431
Then status 200
0
7432
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '4b6752ae-65d6-44b5-98ef-1fc30f4fd92d'
75
7433
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
7434
* def title = get response //citation/CI_Citation/title/CharacterString
1
7435
* def email = get response //electronicMailAddress/CharacterString
1
7436
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
7437
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
7438
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
7439
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
7440
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
7441
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
7442
* print organisationpath
0
06:40:11.184 [print] Beheer PDOK
7443
* print operateson
0
06:40:11.184 [print] [
"http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=50eef6be-619d-4e16-9b92-48971109b636#MD_DataIdentification",
"http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=8de2f5eb-b09f-4f6d-8397-8878a1b86238#MD_DataIdentification",
"https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=9b583730-e750-485a-9c0c-39bf9be72cf8#MD_DataIdentification",
"https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=a57cb859-c4fe-444c-adc6-be14cb2bbf36#MD_DataIdentification",
"https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=9b583730-e750-485a-9c0c-39bf9be72cf9#MD_DataIdentification",
"https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=a57cb859-c4fe-444c-adc6-be14cb2bbf38#MD_DataIdentification"
]
7444
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
7445
* eval db.writeln('"4b6752ae-65d6-44b5-98ef-1fc30f4fd92d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
3
7446
* eval db.writeln('"4b6752ae-65d6-44b5-98ef-1fc30f4fd92d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.220:18]060d1139-c371-4c1e-9890-55999adfa4f9
ms: 1739
>>
Background:
7447
* url 'http://nationaalgeoregister.nl/'
1
06:39:54.462 karate.env system property was:
7448
* def mystorage = Java.type('storage.DataStorage')
1
7449
* def db = new mystorage
1
7450
* def db = db.setfeature(karate.info.featureFileName)
4
7451
* def separator = java.lang.System.getProperty("file.separator")
1
7452
* def outputpath = db.outputpath()
1
7453
* eval db.ensureDirectory(outputpath)
1
7454
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
7455
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
7456
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
7457
Given path 'geonetwork/srv/dut/inspire'
0
7458
And param service = 'CSW'
0
7459
And param version = '2.0.2'
0
7460
And param request = 'GetRecordById'
0
7461
And param id = '060d1139-c371-4c1e-9890-55999adfa4f9'
0
7462
And param elementsetname = 'full'
0
7463
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
7464
When method get
1730
7465
Then status 200
0
7466
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '060d1139-c371-4c1e-9890-55999adfa4f9'
1
7467
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
7468
* def title = get response //citation/CI_Citation/title/CharacterString
0
7469
* def email = get response //electronicMailAddress/CharacterString
0
7470
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
7471
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
7472
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
7473
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
7474
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
7475
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
7476
* print organisationpath
0
06:40:11.216 [print] Ministerie van Defensie, Koninklijke Marine, Dienst der Hydrografie
7477
* print operateson
0
06:40:11.216 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=a5241416-8401-4623-be61-57ef50447a41&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full#MD_DataIdentification
7478
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
7479
* eval db.writeln('"060d1139-c371-4c1e-9890-55999adfa4f9","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
7480
* eval db.writeln('"060d1139-c371-4c1e-9890-55999adfa4f9","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.221:18]3d759186-7cee-4218-aa44-165f3922fbbb
ms: 1706
>>
Background:
7481
* url 'http://nationaalgeoregister.nl/'
1
06:39:54.462 karate.env system property was:
7482
* def mystorage = Java.type('storage.DataStorage')
1
7483
* def db = new mystorage
1
7484
* def db = db.setfeature(karate.info.featureFileName)
4
7485
* def separator = java.lang.System.getProperty("file.separator")
1
7486
* def outputpath = db.outputpath()
1
7487
* eval db.ensureDirectory(outputpath)
1
7488
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
7489
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
7490
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
7491
Given path 'geonetwork/srv/dut/inspire'
0
7492
And param service = 'CSW'
0
7493
And param version = '2.0.2'
0
7494
And param request = 'GetRecordById'
0
7495
And param id = '3d759186-7cee-4218-aa44-165f3922fbbb'
0
7496
And param elementsetname = 'full'
0
7497
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
7498
When method get
1689
7499
Then status 200
0
7500
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '3d759186-7cee-4218-aa44-165f3922fbbb'
1
7501
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
7502
* def title = get response //citation/CI_Citation/title/CharacterString
0
7503
* def email = get response //electronicMailAddress/CharacterString
0
7504
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
7505
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
7506
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
1
7507
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
7508
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
7509
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
7510
* print organisationpath
0
06:40:11.185 [print] Beheer PDOK
7511
* print operateson
0
06:40:11.185 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=5951efa2-1ff3-4763-a966-a2f5497679ee#MD_DataIdentification
7512
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
7513
* eval db.writeln('"3d759186-7cee-4218-aa44-165f3922fbbb","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
7
7514
* eval db.writeln('"3d759186-7cee-4218-aa44-165f3922fbbb","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.222:18]17ad94f6-4961-448b-a6f5-5368b7870409
ms: 1865
>>
Background:
7515
* url 'http://nationaalgeoregister.nl/'
1
06:39:54.462 karate.env system property was:
7516
* def mystorage = Java.type('storage.DataStorage')
1
7517
* def db = new mystorage
1
7518
* def db = db.setfeature(karate.info.featureFileName)
4
7519
* def separator = java.lang.System.getProperty("file.separator")
1
7520
* def outputpath = db.outputpath()
1
7521
* eval db.ensureDirectory(outputpath)
1
7522
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
7523
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
7524
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
7525
Given path 'geonetwork/srv/dut/inspire'
1
7526
And param service = 'CSW'
0
7527
And param version = '2.0.2'
0
7528
And param request = 'GetRecordById'
0
7529
And param id = '17ad94f6-4961-448b-a6f5-5368b7870409'
1
7530
And param elementsetname = 'full'
0
7531
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
7532
When method get
1852
7533
Then status 200
0
7534
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '17ad94f6-4961-448b-a6f5-5368b7870409'
2
7535
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
7536
* def title = get response //citation/CI_Citation/title/CharacterString
0
7537
* def email = get response //electronicMailAddress/CharacterString
0
7538
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
7539
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
7540
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
7541
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
7542
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
7543
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
7544
* print organisationpath
0
06:40:11.448 [print] Ministerie van Defensie, Koninklijke Marine, Dienst der Hydrografie
7545
* print operateson
0
06:40:11.448 [print] https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=a322184d-6285-4856-bb78-f450b30ffc0e#MD_DataIdentification
7546
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
7547
* eval db.writeln('"17ad94f6-4961-448b-a6f5-5368b7870409","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
7548
* eval db.writeln('"17ad94f6-4961-448b-a6f5-5368b7870409","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
5
Scenario Outline: [1.223:18]f2d2cd9d-7410-485a-95e0-c1b885243eaf
ms: 1731
>>
Background:
7549
* url 'http://nationaalgeoregister.nl/'
1
06:39:54.462 karate.env system property was:
7550
* def mystorage = Java.type('storage.DataStorage')
1
7551
* def db = new mystorage
1
7552
* def db = db.setfeature(karate.info.featureFileName)
4
7553
* def separator = java.lang.System.getProperty("file.separator")
1
7554
* def outputpath = db.outputpath()
1
7555
* eval db.ensureDirectory(outputpath)
1
7556
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
7557
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
7558
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
7559
Given path 'geonetwork/srv/dut/inspire'
0
7560
And param service = 'CSW'
0
7561
And param version = '2.0.2'
0
7562
And param request = 'GetRecordById'
0
7563
And param id = 'f2d2cd9d-7410-485a-95e0-c1b885243eaf'
0
7564
And param elementsetname = 'full'
0
7565
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
7566
When method get
1723
7567
Then status 200
0
7568
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'f2d2cd9d-7410-485a-95e0-c1b885243eaf'
1
7569
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
7570
* def title = get response //citation/CI_Citation/title/CharacterString
0
7571
* def email = get response //electronicMailAddress/CharacterString
0
7572
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
7573
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
7574
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
7575
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
7576
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
7577
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
7578
* print organisationpath
0
06:40:11.353 [print] Ministerie van Defensie, Koninklijke Marine, Dienst der Hydrografie
7579
* print operateson
0
06:40:11.353 [print] https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=e8b84fae-00b3-49c1-80c1-df8f69f64e8c#MD_DataIdentification
7580
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
7581
* eval db.writeln('"f2d2cd9d-7410-485a-95e0-c1b885243eaf","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
7582
* eval db.writeln('"f2d2cd9d-7410-485a-95e0-c1b885243eaf","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.224:18]745968a3-37af-4406-988e-ec595f58c7fe
ms: 1792
>>
Background:
7583
* url 'http://nationaalgeoregister.nl/'
1
06:39:54.462 karate.env system property was:
7584
* def mystorage = Java.type('storage.DataStorage')
1
7585
* def db = new mystorage
1
7586
* def db = db.setfeature(karate.info.featureFileName)
4
7587
* def separator = java.lang.System.getProperty("file.separator")
1
7588
* def outputpath = db.outputpath()
1
7589
* eval db.ensureDirectory(outputpath)
1
7590
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
7591
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
7592
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
7593
Given path 'geonetwork/srv/dut/inspire'
0
7594
And param service = 'CSW'
0
7595
And param version = '2.0.2'
0
7596
And param request = 'GetRecordById'
0
7597
And param id = '745968a3-37af-4406-988e-ec595f58c7fe'
0
7598
And param elementsetname = 'full'
0
7599
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
7600
When method get
1780
7601
Then status 200
0
7602
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '745968a3-37af-4406-988e-ec595f58c7fe'
2
7603
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
7604
* def title = get response //citation/CI_Citation/title/CharacterString
1
7605
* def email = get response //electronicMailAddress/CharacterString
0
7606
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
7607
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
7608
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
7609
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
7610
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
7611
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
7612
* print organisationpath
0
06:40:11.449 [print]
7613
* print operateson
0
06:40:11.449 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=d24ccb35-e9d2-41bf-b231-43083fc0c76d#MD_DataIdentification
7614
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
7615
* eval db.writeln('"745968a3-37af-4406-988e-ec595f58c7fe","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
7616
* eval db.writeln('"745968a3-37af-4406-988e-ec595f58c7fe","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.225:18]a035801a-3256-4a36-9f81-02421aacee17
ms: 1634
>>
Background:
7617
* url 'http://nationaalgeoregister.nl/'
1
06:39:54.462 karate.env system property was:
7618
* def mystorage = Java.type('storage.DataStorage')
1
7619
* def db = new mystorage
1
7620
* def db = db.setfeature(karate.info.featureFileName)
4
7621
* def separator = java.lang.System.getProperty("file.separator")
1
7622
* def outputpath = db.outputpath()
1
7623
* eval db.ensureDirectory(outputpath)
1
7624
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
7625
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
7626
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
7627
Given path 'geonetwork/srv/dut/inspire'
1
7628
And param service = 'CSW'
0
7629
And param version = '2.0.2'
0
7630
And param request = 'GetRecordById'
0
7631
And param id = 'a035801a-3256-4a36-9f81-02421aacee17'
1
7632
And param elementsetname = 'full'
0
7633
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
7634
When method get
1624
7635
Then status 200
0
7636
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'a035801a-3256-4a36-9f81-02421aacee17'
1
7637
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
7638
* def title = get response //citation/CI_Citation/title/CharacterString
1
7639
* def email = get response //electronicMailAddress/CharacterString
0
7640
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
7641
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
7642
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
7643
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
7644
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
7645
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
7646
* print organisationpath
0
06:40:11.498 [print] Beheer PDOK
7647
* print operateson
0
06:40:11.498 [print] http://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=ffefc3dc-dc8f-4589-ae22-a60bebcdf5cb#MD_DataIdentification
7648
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
7649
* eval db.writeln('"a035801a-3256-4a36-9f81-02421aacee17","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
7650
* eval db.writeln('"a035801a-3256-4a36-9f81-02421aacee17","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.226:18]f5660ac6-8031-4acc-832c-1d1b82b062ba
ms: 1813
>>
Background:
7651
* url 'http://nationaalgeoregister.nl/'
1
06:39:54.462 karate.env system property was:
7652
* def mystorage = Java.type('storage.DataStorage')
1
7653
* def db = new mystorage
1
7654
* def db = db.setfeature(karate.info.featureFileName)
4
7655
* def separator = java.lang.System.getProperty("file.separator")
1
7656
* def outputpath = db.outputpath()
1
7657
* eval db.ensureDirectory(outputpath)
1
7658
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
7659
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
7660
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
7661
Given path 'geonetwork/srv/dut/inspire'
1
7662
And param service = 'CSW'
0
7663
And param version = '2.0.2'
0
7664
And param request = 'GetRecordById'
0
7665
And param id = 'f5660ac6-8031-4acc-832c-1d1b82b062ba'
1
7666
And param elementsetname = 'full'
0
7667
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
7668
When method get
1804
7669
Then status 200
0
7670
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'f5660ac6-8031-4acc-832c-1d1b82b062ba'
1
7671
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
7672
* def title = get response //citation/CI_Citation/title/CharacterString
0
7673
* def email = get response //electronicMailAddress/CharacterString
0
7674
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
7675
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
7676
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
7677
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
7678
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
7679
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
7680
* print organisationpath
0
06:40:11.695 [print] TNO Geologische Dienst Nederland
7681
* print operateson
0
06:40:11.695 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&ID=11a292bd-9022-4a9f-b1bf-02f5c89ad74a&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full#MD_DataIdentification
7682
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
7683
* eval db.writeln('"f5660ac6-8031-4acc-832c-1d1b82b062ba","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
7684
* eval db.writeln('"f5660ac6-8031-4acc-832c-1d1b82b062ba","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.227:18]97a7d966-7261-49d4-bc08-c4900981f092
ms: 1734
>>
Background:
7685
* url 'http://nationaalgeoregister.nl/'
1
06:39:54.462 karate.env system property was:
7686
* def mystorage = Java.type('storage.DataStorage')
1
7687
* def db = new mystorage
1
7688
* def db = db.setfeature(karate.info.featureFileName)
4
7689
* def separator = java.lang.System.getProperty("file.separator")
1
7690
* def outputpath = db.outputpath()
1
7691
* eval db.ensureDirectory(outputpath)
1
7692
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
7693
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
7694
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
7695
Given path 'geonetwork/srv/dut/inspire'
0
7696
And param service = 'CSW'
0
7697
And param version = '2.0.2'
0
7698
And param request = 'GetRecordById'
0
7699
And param id = '97a7d966-7261-49d4-bc08-c4900981f092'
0
7700
And param elementsetname = 'full'
0
7701
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
7702
When method get
1722
7703
Then status 200
0
7704
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '97a7d966-7261-49d4-bc08-c4900981f092'
2
7705
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
7706
* def title = get response //citation/CI_Citation/title/CharacterString
1
7707
* def email = get response //electronicMailAddress/CharacterString
0
7708
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
7709
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
1
7710
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
7711
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
7712
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
7713
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
7714
* print organisationpath
0
06:40:11.674 [print] Beheer PDOK
7715
* print operateson
0
06:40:11.674 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=31de946d-85d4-4c93-bb97-e25f4ef1401a#MD_DataIdentification
7716
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
7717
* eval db.writeln('"97a7d966-7261-49d4-bc08-c4900981f092","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
7718
* eval db.writeln('"97a7d966-7261-49d4-bc08-c4900981f092","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.228:18]0426f471-f325-42ed-a775-81c397592e86
ms: 1797
>>
Background:
7719
* url 'http://nationaalgeoregister.nl/'
1
06:39:54.462 karate.env system property was:
7720
* def mystorage = Java.type('storage.DataStorage')
1
7721
* def db = new mystorage
1
7722
* def db = db.setfeature(karate.info.featureFileName)
4
7723
* def separator = java.lang.System.getProperty("file.separator")
1
7724
* def outputpath = db.outputpath()
1
7725
* eval db.ensureDirectory(outputpath)
1
7726
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
7727
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
7728
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
7729
Given path 'geonetwork/srv/dut/inspire'
0
7730
And param service = 'CSW'
0
7731
And param version = '2.0.2'
0
7732
And param request = 'GetRecordById'
0
7733
And param id = '0426f471-f325-42ed-a775-81c397592e86'
0
7734
And param elementsetname = 'full'
0
7735
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
7736
When method get
1788
7737
Then status 200
0
7738
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '0426f471-f325-42ed-a775-81c397592e86'
1
7739
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
7740
* def title = get response //citation/CI_Citation/title/CharacterString
0
7741
* def email = get response //electronicMailAddress/CharacterString
0
7742
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
7743
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
7744
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
7745
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
7746
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
7747
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
7748
* print organisationpath
0
06:40:11.777 [print]
7749
* print operateson
0
06:40:11.777 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=8a4f5c3b-aced-48fd-afb5-f1f1d0ef21d6#MD_DataIdentification
7750
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
7751
* eval db.writeln('"0426f471-f325-42ed-a775-81c397592e86","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
7752
* eval db.writeln('"0426f471-f325-42ed-a775-81c397592e86","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.229:18]25c69c01-8dfa-406f-bbcb-24feba25dcc6
ms: 1761
>>
Background:
7753
* url 'http://nationaalgeoregister.nl/'
1
06:39:54.462 karate.env system property was:
7754
* def mystorage = Java.type('storage.DataStorage')
1
7755
* def db = new mystorage
1
7756
* def db = db.setfeature(karate.info.featureFileName)
4
7757
* def separator = java.lang.System.getProperty("file.separator")
1
7758
* def outputpath = db.outputpath()
1
7759
* eval db.ensureDirectory(outputpath)
1
7760
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
7761
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
7762
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
7763
Given path 'geonetwork/srv/dut/inspire'
0
7764
And param service = 'CSW'
0
7765
And param version = '2.0.2'
0
7766
And param request = 'GetRecordById'
0
7767
And param id = '25c69c01-8dfa-406f-bbcb-24feba25dcc6'
0
7768
And param elementsetname = 'full'
0
7769
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
7770
When method get
1732
7771
Then status 200
0
7772
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '25c69c01-8dfa-406f-bbcb-24feba25dcc6'
1
7773
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
7774
* def title = get response //citation/CI_Citation/title/CharacterString
0
7775
* def email = get response //electronicMailAddress/CharacterString
0
7776
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
7777
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
7778
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
7779
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
7780
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
7781
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
7782
* print organisationpath
0
06:40:11.888 [print] Beheer PDOK
7783
* print operateson
20
06:40:11.907 [print] [
"http://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=49ab8bee-b467-486a-96ca-b950443c453a#MD_DataIdentification",
"http://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=f002bfc5-7d87-46b6-819e-8415422b65c9#MD_DataIdentification",
"http://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=f0821bfe-5a0a-11e9-8647-d663bd873d93#MD_DataIdentification",
"http://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=60a2a7c2-d5b3-4ad5-b562-c448695357fb#MD_DataIdentification",
"http://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=c7d8d77b-8c47-4309-8c58-9b12b086407f#MD_DataIdentification",
"http://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=ca94a0cb-7561-4a10-a7d6-b840e56c33ff#MD_DataIdentification",
"http://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=cc408b2d-09a6-4b2b-9aa3-b46bfe2f00a5#MD_DataIdentification",
"http://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=998ba1dc-f6a6-49a3-a021-51f30d9b1d0e#MD_DataIdentification",
"https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=49ab8bee-b467-486a-96ca-b950443c453a#MD_DataIdentification"
]
7784
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
7785
* eval db.writeln('"25c69c01-8dfa-406f-bbcb-24feba25dcc6","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
7786
* eval db.writeln('"25c69c01-8dfa-406f-bbcb-24feba25dcc6","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.230:18]68d14b1c-71ad-4ce7-8267-45787a80c2d4
ms: 1809
>>
Background:
7787
* url 'http://nationaalgeoregister.nl/'
1
06:39:54.462 karate.env system property was:
7788
* def mystorage = Java.type('storage.DataStorage')
1
7789
* def db = new mystorage
1
7790
* def db = db.setfeature(karate.info.featureFileName)
4
7791
* def separator = java.lang.System.getProperty("file.separator")
1
7792
* def outputpath = db.outputpath()
1
7793
* eval db.ensureDirectory(outputpath)
1
7794
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
7795
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
7796
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
7797
Given path 'geonetwork/srv/dut/inspire'
0
7798
And param service = 'CSW'
0
7799
And param version = '2.0.2'
0
7800
And param request = 'GetRecordById'
0
7801
And param id = '68d14b1c-71ad-4ce7-8267-45787a80c2d4'
0
7802
And param elementsetname = 'full'
0
7803
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
7804
When method get
1793
7805
Then status 200
0
7806
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '68d14b1c-71ad-4ce7-8267-45787a80c2d4'
1
7807
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
7808
* def title = get response //citation/CI_Citation/title/CharacterString
1
7809
* def email = get response //electronicMailAddress/CharacterString
1
7810
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
7811
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
7812
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
1
7813
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
7814
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
7815
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
7816
* print organisationpath
0
06:40:11.970 [print] Beheer PDOK
7817
* print operateson
0
06:40:11.970 [print] https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=a5f961e9-ebdd-41e2-b8e8-ab33ed340a83#MD_DataIdentification
7818
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
7819
* eval db.writeln('"68d14b1c-71ad-4ce7-8267-45787a80c2d4","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
7
7820
* eval db.writeln('"68d14b1c-71ad-4ce7-8267-45787a80c2d4","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.231:18]97cf6a64-9cfc-4ce6-9741-2db44fd27fca
ms: 1658
>>
Background:
7821
* url 'http://nationaalgeoregister.nl/'
1
06:39:54.462 karate.env system property was:
7822
* def mystorage = Java.type('storage.DataStorage')
1
7823
* def db = new mystorage
1
7824
* def db = db.setfeature(karate.info.featureFileName)
4
7825
* def separator = java.lang.System.getProperty("file.separator")
1
7826
* def outputpath = db.outputpath()
1
7827
* eval db.ensureDirectory(outputpath)
1
7828
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
7829
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
7830
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
7831
Given path 'geonetwork/srv/dut/inspire'
1
7832
And param service = 'CSW'
0
7833
And param version = '2.0.2'
0
7834
And param request = 'GetRecordById'
0
7835
And param id = '97cf6a64-9cfc-4ce6-9741-2db44fd27fca'
1
7836
And param elementsetname = 'full'
0
7837
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
7838
When method get
1649
7839
Then status 200
0
7840
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '97cf6a64-9cfc-4ce6-9741-2db44fd27fca'
1
7841
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
7842
* def title = get response //citation/CI_Citation/title/CharacterString
0
7843
* def email = get response //electronicMailAddress/CharacterString
0
7844
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
7845
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
7846
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
7847
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
7848
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
7849
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
7850
* print organisationpath
0
06:40:11.988 [print]
7851
* print operateson
0
06:40:11.988 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/csw?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&ID=a29917b9-3426-4041-a11b-69bcb2256904&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full#MD_DataIdentification
7852
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
7853
* eval db.writeln('"97cf6a64-9cfc-4ce6-9741-2db44fd27fca","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
7854
* eval db.writeln('"97cf6a64-9cfc-4ce6-9741-2db44fd27fca","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.232:18]539ec652-482d-4806-a830-0458cf8be477
ms: 1489
>>
Background:
7855
* url 'http://nationaalgeoregister.nl/'
1
06:39:54.462 karate.env system property was:
7856
* def mystorage = Java.type('storage.DataStorage')
1
7857
* def db = new mystorage
1
7858
* def db = db.setfeature(karate.info.featureFileName)
4
7859
* def separator = java.lang.System.getProperty("file.separator")
1
7860
* def outputpath = db.outputpath()
1
7861
* eval db.ensureDirectory(outputpath)
1
7862
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
7863
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
7864
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
7865
Given path 'geonetwork/srv/dut/inspire'
1
7866
And param service = 'CSW'
0
7867
And param version = '2.0.2'
0
7868
And param request = 'GetRecordById'
0
7869
And param id = '539ec652-482d-4806-a830-0458cf8be477'
1
7870
And param elementsetname = 'full'
0
7871
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
7872
When method get
1478
7873
Then status 200
0
7874
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '539ec652-482d-4806-a830-0458cf8be477'
2
7875
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
7876
* def title = get response //citation/CI_Citation/title/CharacterString
1
7877
* def email = get response //electronicMailAddress/CharacterString
1
7878
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
7879
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
1
7880
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
1
7881
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
7882
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
7883
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
7884
* print organisationpath
0
06:40:11.843 [print] Informatiehuis Water
7885
* print operateson
0
06:40:11.843 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/nl/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=891ddc2d-8949-4a45-be96-c65b87c41f13&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full
7886
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
7887
* eval db.writeln('"539ec652-482d-4806-a830-0458cf8be477","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
7888
* eval db.writeln('"539ec652-482d-4806-a830-0458cf8be477","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.233:18]67bcc21d-beda-449d-975c-00a4fa80f2b7
ms: 1774
>>
Background:
7889
* url 'http://nationaalgeoregister.nl/'
1
06:39:54.462 karate.env system property was:
7890
* def mystorage = Java.type('storage.DataStorage')
1
7891
* def db = new mystorage
1
7892
* def db = db.setfeature(karate.info.featureFileName)
4
7893
* def separator = java.lang.System.getProperty("file.separator")
1
7894
* def outputpath = db.outputpath()
1
7895
* eval db.ensureDirectory(outputpath)
1
7896
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
7897
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
7898
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
7899
Given path 'geonetwork/srv/dut/inspire'
2
7900
And param service = 'CSW'
0
7901
And param version = '2.0.2'
0
7902
And param request = 'GetRecordById'
0
7903
And param id = '67bcc21d-beda-449d-975c-00a4fa80f2b7'
1
7904
And param elementsetname = 'full'
1
7905
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
7906
When method get
1761
7907
Then status 200
0
7908
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '67bcc21d-beda-449d-975c-00a4fa80f2b7'
2
7909
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
7910
* def title = get response //citation/CI_Citation/title/CharacterString
1
7911
* def email = get response //electronicMailAddress/CharacterString
1
7912
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
7913
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
7914
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
7915
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
7916
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
7917
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
7918
* print organisationpath
0
06:40:12.178 [print]
7919
* print operateson
0
06:40:12.178 [print] https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=07575774-57a1-4419-bab4-6c88fdeb02b2#MD_DataIdentification
7920
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
7921
* eval db.writeln('"67bcc21d-beda-449d-975c-00a4fa80f2b7","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
7922
* eval db.writeln('"67bcc21d-beda-449d-975c-00a4fa80f2b7","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.234:18]a8ad0d7d-ea9e-4261-bc92-772e99a41387
ms: 1670
>>
Background:
7923
* url 'http://nationaalgeoregister.nl/'
1
06:39:54.462 karate.env system property was:
7924
* def mystorage = Java.type('storage.DataStorage')
1
7925
* def db = new mystorage
1
7926
* def db = db.setfeature(karate.info.featureFileName)
4
7927
* def separator = java.lang.System.getProperty("file.separator")
1
7928
* def outputpath = db.outputpath()
1
7929
* eval db.ensureDirectory(outputpath)
1
7930
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
7931
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
7932
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
7933
Given path 'geonetwork/srv/dut/inspire'
0
7934
And param service = 'CSW'
0
7935
And param version = '2.0.2'
0
7936
And param request = 'GetRecordById'
0
7937
And param id = 'a8ad0d7d-ea9e-4261-bc92-772e99a41387'
0
7938
And param elementsetname = 'full'
0
7939
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
7940
When method get
1661
7941
Then status 200
0
7942
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'a8ad0d7d-ea9e-4261-bc92-772e99a41387'
1
7943
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
7944
* def title = get response //citation/CI_Citation/title/CharacterString
0
7945
* def email = get response //electronicMailAddress/CharacterString
0
7946
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
7947
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
7948
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
7949
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
7950
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
7951
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
7952
* print organisationpath
0
06:40:12.076 [print] Beheer PDOK
7953
* print operateson
0
06:40:12.076 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/eng/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=76091be7-358a-4a44-8182-b4139c96c6a4#MD_DataIdentification
7954
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
7955
* eval db.writeln('"a8ad0d7d-ea9e-4261-bc92-772e99a41387","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
7956
* eval db.writeln('"a8ad0d7d-ea9e-4261-bc92-772e99a41387","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.235:18]598c4109-21d2-4a6c-b083-9975a6736849
ms: 810
>>
Background:
7957
* url 'http://nationaalgeoregister.nl/'
1
06:39:54.462 karate.env system property was:
7958
* def mystorage = Java.type('storage.DataStorage')
1
7959
* def db = new mystorage
1
7960
* def db = db.setfeature(karate.info.featureFileName)
4
7961
* def separator = java.lang.System.getProperty("file.separator")
1
7962
* def outputpath = db.outputpath()
1
7963
* eval db.ensureDirectory(outputpath)
1
7964
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
7965
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
7966
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
7967
Given path 'geonetwork/srv/dut/inspire'
0
7968
And param service = 'CSW'
0
7969
And param version = '2.0.2'
0
7970
And param request = 'GetRecordById'
0
7971
And param id = '598c4109-21d2-4a6c-b083-9975a6736849'
0
7972
And param elementsetname = 'full'
0
7973
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
7974
When method get
796
7975
Then status 200
0
7976
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '598c4109-21d2-4a6c-b083-9975a6736849'
1
7977
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
7978
* def title = get response //citation/CI_Citation/title/CharacterString
1
7979
* def email = get response //electronicMailAddress/CharacterString
1
7980
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
7981
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
1
7982
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
1
7983
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
1
7984
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
7985
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
7986
* print organisationpath
0
06:40:11.336 [print] Beheer PDOK
7987
* print operateson
0
06:40:11.336 [print] [
"http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=00d8c7c8-98ff-4b06-8f53-b44216e6e75c#MD_DataIdentification",
"http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=701d4eb8-8aae-4708-bba5-3edf6987676d#MD_DataIdentification"
]
7988
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
7989
* eval db.writeln('"598c4109-21d2-4a6c-b083-9975a6736849","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
7990
* eval db.writeln('"598c4109-21d2-4a6c-b083-9975a6736849","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.236:18]7a914681-61bd-4f67-902b-45037a00c469
ms: 1731
>>
Background:
7991
* url 'http://nationaalgeoregister.nl/'
1
06:39:54.462 karate.env system property was:
7992
* def mystorage = Java.type('storage.DataStorage')
1
7993
* def db = new mystorage
1
7994
* def db = db.setfeature(karate.info.featureFileName)
4
7995
* def separator = java.lang.System.getProperty("file.separator")
1
7996
* def outputpath = db.outputpath()
1
7997
* eval db.ensureDirectory(outputpath)
1
7998
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
7999
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
8000
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
8001
Given path 'geonetwork/srv/dut/inspire'
3
8002
And param service = 'CSW'
0
8003
And param version = '2.0.2'
0
8004
And param request = 'GetRecordById'
0
8005
And param id = '7a914681-61bd-4f67-902b-45037a00c469'
0
8006
And param elementsetname = 'full'
0
8007
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
8008
When method get
1717
8009
Then status 200
0
8010
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '7a914681-61bd-4f67-902b-45037a00c469'
1
8011
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
8012
* def title = get response //citation/CI_Citation/title/CharacterString
1
8013
* def email = get response //electronicMailAddress/CharacterString
1
8014
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
8015
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
8016
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
8017
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
8018
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
8019
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
8020
* print organisationpath
0
06:40:12.263 [print]
8021
* print operateson
0
06:40:12.263 [print] https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=7939fd42-cf88-42c5-ab3b-232cf232a3ac#MD_DataIdentification
8022
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
8023
* eval db.writeln('"7a914681-61bd-4f67-902b-45037a00c469","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
8024
* eval db.writeln('"7a914681-61bd-4f67-902b-45037a00c469","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.237:18]42f5363b-cea7-4163-a4e9-bc2d1a7a243c
ms: 1788
>>
Background:
8025
* url 'http://nationaalgeoregister.nl/'
1
06:39:54.462 karate.env system property was:
8026
* def mystorage = Java.type('storage.DataStorage')
1
8027
* def db = new mystorage
1
8028
* def db = db.setfeature(karate.info.featureFileName)
4
8029
* def separator = java.lang.System.getProperty("file.separator")
1
8030
* def outputpath = db.outputpath()
1
8031
* eval db.ensureDirectory(outputpath)
1
8032
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
8033
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
8034
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
8035
Given path 'geonetwork/srv/dut/inspire'
0
8036
And param service = 'CSW'
0
8037
And param version = '2.0.2'
0
8038
And param request = 'GetRecordById'
0
8039
And param id = '42f5363b-cea7-4163-a4e9-bc2d1a7a243c'
0
8040
And param elementsetname = 'full'
0
8041
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
8042
When method get
1778
8043
Then status 200
0
8044
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '42f5363b-cea7-4163-a4e9-bc2d1a7a243c'
2
8045
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
8046
* def title = get response //citation/CI_Citation/title/CharacterString
0
8047
* def email = get response //electronicMailAddress/CharacterString
0
8048
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
8049
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
8050
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
8051
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
8052
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
8053
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
8054
* print organisationpath
0
06:40:12.322 [print] Beheer PDOK
8055
* print operateson
0
06:40:12.322 [print] https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=002d9127-c16d-4b8d-9f5e-102a8c8e36c4#MD_DataIdentification
8056
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
8057
* eval db.writeln('"42f5363b-cea7-4163-a4e9-bc2d1a7a243c","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
8058
* eval db.writeln('"42f5363b-cea7-4163-a4e9-bc2d1a7a243c","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.238:18]f1dadc2c-6de2-415a-a2b7-aaf057ddda43
ms: 1818
>>
Background:
8059
* url 'http://nationaalgeoregister.nl/'
1
06:39:54.462 karate.env system property was:
8060
* def mystorage = Java.type('storage.DataStorage')
1
8061
* def db = new mystorage
1
8062
* def db = db.setfeature(karate.info.featureFileName)
4
8063
* def separator = java.lang.System.getProperty("file.separator")
1
8064
* def outputpath = db.outputpath()
1
8065
* eval db.ensureDirectory(outputpath)
1
8066
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
8067
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
8068
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
8069
Given path 'geonetwork/srv/dut/inspire'
0
8070
And param service = 'CSW'
0
8071
And param version = '2.0.2'
0
8072
And param request = 'GetRecordById'
0
8073
And param id = 'f1dadc2c-6de2-415a-a2b7-aaf057ddda43'
0
8074
And param elementsetname = 'full'
0
8075
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
8076
When method get
1801
8077
Then status 200
0
8078
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'f1dadc2c-6de2-415a-a2b7-aaf057ddda43'
1
8079
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
8080
* def title = get response //citation/CI_Citation/title/CharacterString
1
8081
* def email = get response //electronicMailAddress/CharacterString
1
8082
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
8083
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
1
8084
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
1
8085
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
5
8086
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
1
8087
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
8088
* print organisationpath
0
06:40:12.470 [print] Beheer PDOK
8089
* print operateson
0
06:40:12.470 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=76091be7-358a-4a44-8182-b4139c96c6a4#MD_DataIdentification
8090
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
8091
* eval db.writeln('"f1dadc2c-6de2-415a-a2b7-aaf057ddda43","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
8092
* eval db.writeln('"f1dadc2c-6de2-415a-a2b7-aaf057ddda43","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.239:18]a2fdecfc-de33-4ce3-b935-4c9ac18c5a36
ms: 1799
>>
Background:
8093
* url 'http://nationaalgeoregister.nl/'
1
06:39:54.462 karate.env system property was:
8094
* def mystorage = Java.type('storage.DataStorage')
1
8095
* def db = new mystorage
1
8096
* def db = db.setfeature(karate.info.featureFileName)
4
8097
* def separator = java.lang.System.getProperty("file.separator")
1
8098
* def outputpath = db.outputpath()
1
8099
* eval db.ensureDirectory(outputpath)
1
8100
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
8101
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
8102
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
8103
Given path 'geonetwork/srv/dut/inspire'
0
8104
And param service = 'CSW'
0
8105
And param version = '2.0.2'
0
8106
And param request = 'GetRecordById'
0
8107
And param id = 'a2fdecfc-de33-4ce3-b935-4c9ac18c5a36'
0
8108
And param elementsetname = 'full'
0
8109
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
8110
When method get
1779
8111
Then status 200
0
8112
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'a2fdecfc-de33-4ce3-b935-4c9ac18c5a36'
1
8113
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
8114
* def title = get response //citation/CI_Citation/title/CharacterString
1
8115
* def email = get response //electronicMailAddress/CharacterString
1
8116
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
8117
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
1
8118
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
1
8119
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
1
8120
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
1
8121
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
8122
* print organisationpath
0
06:40:12.469 [print] Beheer PDOK
8123
* print operateson
0
06:40:12.470 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=f605a24f-60cd-4c40-94c8-2186aba3ddd0#MD_DataIdentification
8124
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
8125
* eval db.writeln('"a2fdecfc-de33-4ce3-b935-4c9ac18c5a36","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
7
8126
* eval db.writeln('"a2fdecfc-de33-4ce3-b935-4c9ac18c5a36","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.240:18]9699058e-707e-41df-93b5-ff75654d32b2
ms: 1761
>>
Background:
8127
* url 'http://nationaalgeoregister.nl/'
1
06:39:54.462 karate.env system property was:
8128
* def mystorage = Java.type('storage.DataStorage')
1
8129
* def db = new mystorage
1
8130
* def db = db.setfeature(karate.info.featureFileName)
4
8131
* def separator = java.lang.System.getProperty("file.separator")
1
8132
* def outputpath = db.outputpath()
1
8133
* eval db.ensureDirectory(outputpath)
1
8134
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
8135
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
8136
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
8137
Given path 'geonetwork/srv/dut/inspire'
0
8138
And param service = 'CSW'
0
8139
And param version = '2.0.2'
0
8140
And param request = 'GetRecordById'
0
8141
And param id = '9699058e-707e-41df-93b5-ff75654d32b2'
1
8142
And param elementsetname = 'full'
0
8143
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
8144
When method get
1750
8145
Then status 200
0
8146
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '9699058e-707e-41df-93b5-ff75654d32b2'
1
8147
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
8148
* def title = get response //citation/CI_Citation/title/CharacterString
1
8149
* def email = get response //electronicMailAddress/CharacterString
0
8150
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
8151
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
8152
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
8153
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
8154
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
8155
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
8156
* print organisationpath
0
06:40:12.512 [print] Beheer PDOK
8157
* print operateson
0
06:40:12.512 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=71c2b7d2-a1a8-4836-b8d4-7247d331b04d#MD_DataIdentification
8158
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
8159
* eval db.writeln('"9699058e-707e-41df-93b5-ff75654d32b2","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
8160
* eval db.writeln('"9699058e-707e-41df-93b5-ff75654d32b2","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.241:18]2f12ef7d-3eb4-46a9-8b45-702a0f054d57
ms: 1566
>>
Background:
8161
* url 'http://nationaalgeoregister.nl/'
1
06:39:54.462 karate.env system property was:
8162
* def mystorage = Java.type('storage.DataStorage')
1
8163
* def db = new mystorage
1
8164
* def db = db.setfeature(karate.info.featureFileName)
4
8165
* def separator = java.lang.System.getProperty("file.separator")
1
8166
* def outputpath = db.outputpath()
1
8167
* eval db.ensureDirectory(outputpath)
1
8168
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
8169
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
8170
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
8171
Given path 'geonetwork/srv/dut/inspire'
0
8172
And param service = 'CSW'
0
8173
And param version = '2.0.2'
0
8174
And param request = 'GetRecordById'
0
8175
And param id = '2f12ef7d-3eb4-46a9-8b45-702a0f054d57'
0
8176
And param elementsetname = 'full'
0
8177
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
8178
When method get
1549
8179
Then status 200
0
8180
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '2f12ef7d-3eb4-46a9-8b45-702a0f054d57'
2
8181
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
8182
* def title = get response //citation/CI_Citation/title/CharacterString
1
8183
* def email = get response //electronicMailAddress/CharacterString
1
8184
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
8185
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
8186
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
8187
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
8188
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
8189
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
8190
* print organisationpath
0
06:40:12.564 [print] Beheer PDOK
8191
* print operateson
0
06:40:12.564 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=791adbe3-772f-42cb-a3be-5a617bcecef0#MD_DataIdentification
8192
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
8193
* eval db.writeln('"2f12ef7d-3eb4-46a9-8b45-702a0f054d57","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
8194
* eval db.writeln('"2f12ef7d-3eb4-46a9-8b45-702a0f054d57","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
7
Scenario Outline: [1.242:18]4fb15e0d-d88f-40f1-b407-3d3edcf7e184
ms: 1749
>>
Background:
8195
* url 'http://nationaalgeoregister.nl/'
1
06:39:54.462 karate.env system property was:
8196
* def mystorage = Java.type('storage.DataStorage')
1
8197
* def db = new mystorage
1
8198
* def db = db.setfeature(karate.info.featureFileName)
4
8199
* def separator = java.lang.System.getProperty("file.separator")
1
8200
* def outputpath = db.outputpath()
1
8201
* eval db.ensureDirectory(outputpath)
1
8202
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
8203
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
8204
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
8205
Given path 'geonetwork/srv/dut/inspire'
0
8206
And param service = 'CSW'
0
8207
And param version = '2.0.2'
0
8208
And param request = 'GetRecordById'
0
8209
And param id = '4fb15e0d-d88f-40f1-b407-3d3edcf7e184'
1
8210
And param elementsetname = 'full'
0
8211
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
8212
When method get
1731
8213
Then status 200
0
8214
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '4fb15e0d-d88f-40f1-b407-3d3edcf7e184'
1
8215
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
8216
* def title = get response //citation/CI_Citation/title/CharacterString
0
8217
* def email = get response //electronicMailAddress/CharacterString
0
8218
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
8219
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
8220
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
8221
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
8222
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
8223
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
8224
* print organisationpath
0
06:40:12.750 [print] Beheer PDOK
8225
* print operateson
0
06:40:12.750 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=eu-cb527d-f6db-4835-b0cd-deb245241254#MD_DataIdentification
8226
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
8227
* eval db.writeln('"4fb15e0d-d88f-40f1-b407-3d3edcf7e184","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
9
8228
* eval db.writeln('"4fb15e0d-d88f-40f1-b407-3d3edcf7e184","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
3
Scenario Outline: [1.243:18]101a2cc7-bb53-4a16-98f9-bab1f4745b01
ms: 1580
>>
Background:
8229
* url 'http://nationaalgeoregister.nl/'
1
06:39:54.462 karate.env system property was:
8230
* def mystorage = Java.type('storage.DataStorage')
1
8231
* def db = new mystorage
1
8232
* def db = db.setfeature(karate.info.featureFileName)
4
8233
* def separator = java.lang.System.getProperty("file.separator")
1
8234
* def outputpath = db.outputpath()
1
8235
* eval db.ensureDirectory(outputpath)
1
8236
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
8237
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
8238
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
8239
Given path 'geonetwork/srv/dut/inspire'
0
8240
And param service = 'CSW'
0
8241
And param version = '2.0.2'
0
8242
And param request = 'GetRecordById'
0
8243
And param id = '101a2cc7-bb53-4a16-98f9-bab1f4745b01'
0
8244
And param elementsetname = 'full'
0
8245
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
8246
When method get
1548
8247
Then status 200
0
8248
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '101a2cc7-bb53-4a16-98f9-bab1f4745b01'
2
8249
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
8250
* def title = get response //citation/CI_Citation/title/CharacterString
1
8251
* def email = get response //electronicMailAddress/CharacterString
1
8252
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
9
8253
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
8254
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
8255
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
8256
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
8257
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
8258
* print organisationpath
6
06:40:12.760 [print] Beheer PDOK
8259
* print operateson
0
06:40:12.760 [print] http://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=493ab81b-75f8-4205-b030-6b2fd9eb4295#MD_DataIdentification
8260
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
8261
* eval db.writeln('"101a2cc7-bb53-4a16-98f9-bab1f4745b01","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
8
8262
* eval db.writeln('"101a2cc7-bb53-4a16-98f9-bab1f4745b01","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.244:18]0080a9ce-b836-45bc-8fdf-07dcbe97101d
ms: 1589
>>
Background:
8263
* url 'http://nationaalgeoregister.nl/'
1
06:39:54.462 karate.env system property was:
8264
* def mystorage = Java.type('storage.DataStorage')
1
8265
* def db = new mystorage
1
8266
* def db = db.setfeature(karate.info.featureFileName)
4
8267
* def separator = java.lang.System.getProperty("file.separator")
1
8268
* def outputpath = db.outputpath()
1
8269
* eval db.ensureDirectory(outputpath)
1
8270
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
8271
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
8272
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
8273
Given path 'geonetwork/srv/dut/inspire'
0
8274
And param service = 'CSW'
0
8275
And param version = '2.0.2'
0
8276
And param request = 'GetRecordById'
0
8277
And param id = '0080a9ce-b836-45bc-8fdf-07dcbe97101d'
0
8278
And param elementsetname = 'full'
0
8279
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
8280
When method get
1570
8281
Then status 200
0
8282
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '0080a9ce-b836-45bc-8fdf-07dcbe97101d'
3
8283
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
8284
* def title = get response //citation/CI_Citation/title/CharacterString
0
8285
* def email = get response //electronicMailAddress/CharacterString
0
8286
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
8287
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
8288
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
8289
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
8290
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
8291
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
8292
* print organisationpath
0
06:40:12.773 [print]
8293
* print operateson
0
06:40:12.773 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/csw?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&ID=493ab81b-75f8-4205-b030-6b2fd9eb4295&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full#MD_DataIdentification
8294
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
8295
* eval db.writeln('"0080a9ce-b836-45bc-8fdf-07dcbe97101d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
4
8296
* eval db.writeln('"0080a9ce-b836-45bc-8fdf-07dcbe97101d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
6
Scenario Outline: [1.245:18]76854ff3-a853-4405-b9fd-acef66460376
ms: 1801
>>
Background:
8297
* url 'http://nationaalgeoregister.nl/'
1
06:39:54.462 karate.env system property was:
8298
* def mystorage = Java.type('storage.DataStorage')
1
8299
* def db = new mystorage
1
8300
* def db = db.setfeature(karate.info.featureFileName)
4
8301
* def separator = java.lang.System.getProperty("file.separator")
1
8302
* def outputpath = db.outputpath()
1
8303
* eval db.ensureDirectory(outputpath)
1
8304
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
8305
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
8306
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
8307
Given path 'geonetwork/srv/dut/inspire'
0
8308
And param service = 'CSW'
0
8309
And param version = '2.0.2'
0
8310
And param request = 'GetRecordById'
0
8311
And param id = '76854ff3-a853-4405-b9fd-acef66460376'
0
8312
And param elementsetname = 'full'
0
8313
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
8314
When method get
1722
8315
Then status 200
0
8316
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '76854ff3-a853-4405-b9fd-acef66460376'
6
8317
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
15
8318
* def title = get response //citation/CI_Citation/title/CharacterString
12
8319
* def email = get response //electronicMailAddress/CharacterString
6
8320
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
6
8321
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
4
8322
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
4
8323
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
4
8324
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
4
8325
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
6
8326
* print organisationpath
0
06:40:13.011 [print] Beheer PDOK
8327
* print operateson
0
06:40:13.011 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=cbeaebc3-815a-48af-a978-0e16892865fc#MD_DataIdentification
8328
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
7
8329
* eval db.writeln('"76854ff3-a853-4405-b9fd-acef66460376","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
8330
* eval db.writeln('"76854ff3-a853-4405-b9fd-acef66460376","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.246:18]7b8f44b5-6eae-4113-a835-84b8678c3dd5
ms: 1550
>>
Background:
8331
* url 'http://nationaalgeoregister.nl/'
1
06:39:54.462 karate.env system property was:
8332
* def mystorage = Java.type('storage.DataStorage')
1
8333
* def db = new mystorage
1
8334
* def db = db.setfeature(karate.info.featureFileName)
4
8335
* def separator = java.lang.System.getProperty("file.separator")
1
8336
* def outputpath = db.outputpath()
1
8337
* eval db.ensureDirectory(outputpath)
1
8338
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
8339
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
8340
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
8341
Given path 'geonetwork/srv/dut/inspire'
1
8342
And param service = 'CSW'
0
8343
And param version = '2.0.2'
0
8344
And param request = 'GetRecordById'
0
8345
And param id = '7b8f44b5-6eae-4113-a835-84b8678c3dd5'
1
8346
And param elementsetname = 'full'
0
8347
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
8348
When method get
1540
8349
Then status 200
0
8350
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '7b8f44b5-6eae-4113-a835-84b8678c3dd5'
1
8351
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
8352
* def title = get response //citation/CI_Citation/title/CharacterString
0
8353
* def email = get response //electronicMailAddress/CharacterString
0
8354
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
8355
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
8356
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
8357
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
8358
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
8359
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
8360
* print organisationpath
0
06:40:12.887 [print] Beheer PDOK
8361
* print operateson
0
06:40:12.887 [print] https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=493ab81b-75f8-4205-b030-6b2fd9eb4295#MD_DataIdentification
8362
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
8363
* eval db.writeln('"7b8f44b5-6eae-4113-a835-84b8678c3dd5","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
8364
* eval db.writeln('"7b8f44b5-6eae-4113-a835-84b8678c3dd5","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.247:18]7681eb19-a914-4dc7-9208-c2a131dca06d
ms: 1613
>>
Background:
8365
* url 'http://nationaalgeoregister.nl/'
1
06:39:54.462 karate.env system property was:
8366
* def mystorage = Java.type('storage.DataStorage')
1
8367
* def db = new mystorage
1
8368
* def db = db.setfeature(karate.info.featureFileName)
4
8369
* def separator = java.lang.System.getProperty("file.separator")
1
8370
* def outputpath = db.outputpath()
1
8371
* eval db.ensureDirectory(outputpath)
1
8372
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
8373
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
8374
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
8375
Given path 'geonetwork/srv/dut/inspire'
0
8376
And param service = 'CSW'
0
8377
And param version = '2.0.2'
0
8378
And param request = 'GetRecordById'
0
8379
And param id = '7681eb19-a914-4dc7-9208-c2a131dca06d'
0
8380
And param elementsetname = 'full'
0
8381
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
8382
When method get
1597
8383
Then status 200
0
8384
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '7681eb19-a914-4dc7-9208-c2a131dca06d'
1
8385
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
8386
* def title = get response //citation/CI_Citation/title/CharacterString
1
8387
* def email = get response //electronicMailAddress/CharacterString
1
8388
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
8389
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
8390
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
8391
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
1
8392
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
8393
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
8394
* print organisationpath
5
06:40:12.965 [print] Beheer PDOK
8395
* print operateson
0
06:40:12.966 [print] [
"http://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=110f9ec6-4464-462e-9765-83d90cefbeag#MD_DataIdentification",
"http://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=110f9ec6-4464-462e-9765-83d90cefbead#MD_DataIdentification"
]
8396
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
8397
* eval db.writeln('"7681eb19-a914-4dc7-9208-c2a131dca06d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
8398
* eval db.writeln('"7681eb19-a914-4dc7-9208-c2a131dca06d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.248:18]30f65c89-2246-49f8-8b50-0f1140d6f2aa
ms: 1571
>>
Background:
8399
* url 'http://nationaalgeoregister.nl/'
1
06:39:54.462 karate.env system property was:
8400
* def mystorage = Java.type('storage.DataStorage')
1
8401
* def db = new mystorage
1
8402
* def db = db.setfeature(karate.info.featureFileName)
4
8403
* def separator = java.lang.System.getProperty("file.separator")
1
8404
* def outputpath = db.outputpath()
1
8405
* eval db.ensureDirectory(outputpath)
1
8406
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
8407
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
8408
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
8409
Given path 'geonetwork/srv/dut/inspire'
2
8410
And param service = 'CSW'
0
8411
And param version = '2.0.2'
0
8412
And param request = 'GetRecordById'
0
8413
And param id = '30f65c89-2246-49f8-8b50-0f1140d6f2aa'
0
8414
And param elementsetname = 'full'
0
8415
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
8416
When method get
1552
8417
Then status 200
0
8418
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '30f65c89-2246-49f8-8b50-0f1140d6f2aa'
1
8419
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
8420
* def title = get response //citation/CI_Citation/title/CharacterString
1
8421
* def email = get response //electronicMailAddress/CharacterString
1
8422
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
8423
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
8424
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
8425
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
4
8426
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
8427
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
8428
* print organisationpath
0
06:40:13.017 [print] Beheer PDOK
8429
* print operateson
0
06:40:13.017 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=1c3afc74-cc34-44b7-938a-963e2350795a#MD_DataIdentification
8430
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
8431
* eval db.writeln('"30f65c89-2246-49f8-8b50-0f1140d6f2aa","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
5
8432
* eval db.writeln('"30f65c89-2246-49f8-8b50-0f1140d6f2aa","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.249:18]7ab53b91-9df1-4c39-ba0e-06ec80ce512b
ms: 1582
>>
Background:
8433
* url 'http://nationaalgeoregister.nl/'
1
06:39:54.462 karate.env system property was:
8434
* def mystorage = Java.type('storage.DataStorage')
1
8435
* def db = new mystorage
1
8436
* def db = db.setfeature(karate.info.featureFileName)
4
8437
* def separator = java.lang.System.getProperty("file.separator")
1
8438
* def outputpath = db.outputpath()
1
8439
* eval db.ensureDirectory(outputpath)
1
8440
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
8441
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
8442
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
8443
Given path 'geonetwork/srv/dut/inspire'
0
8444
And param service = 'CSW'
0
8445
And param version = '2.0.2'
0
8446
And param request = 'GetRecordById'
0
8447
And param id = '7ab53b91-9df1-4c39-ba0e-06ec80ce512b'
0
8448
And param elementsetname = 'full'
0
8449
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
8450
When method get
1570
8451
Then status 200
0
8452
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '7ab53b91-9df1-4c39-ba0e-06ec80ce512b'
1
8453
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
8454
* def title = get response //citation/CI_Citation/title/CharacterString
0
8455
* def email = get response //electronicMailAddress/CharacterString
0
8456
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
8457
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
8458
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
8459
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
8460
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
1
8461
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
8462
* print organisationpath
0
06:40:13.031 [print] Beheer PDOK
8463
* print operateson
0
06:40:13.031 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=3387ef8a-9237-453a-aa4e-585d1e193550#MD_DataIdentification
8464
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
8465
* eval db.writeln('"7ab53b91-9df1-4c39-ba0e-06ec80ce512b","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
3
8466
* eval db.writeln('"7ab53b91-9df1-4c39-ba0e-06ec80ce512b","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.250:18]32b1eb9e-c54f-4598-92d2-328eb77fa0d3
ms: 1796
>>
Background:
8467
* url 'http://nationaalgeoregister.nl/'
1
06:39:54.462 karate.env system property was:
8468
* def mystorage = Java.type('storage.DataStorage')
1
8469
* def db = new mystorage
1
8470
* def db = db.setfeature(karate.info.featureFileName)
4
8471
* def separator = java.lang.System.getProperty("file.separator")
1
8472
* def outputpath = db.outputpath()
1
8473
* eval db.ensureDirectory(outputpath)
1
8474
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
8475
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
8476
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
8477
Given path 'geonetwork/srv/dut/inspire'
0
8478
And param service = 'CSW'
0
8479
And param version = '2.0.2'
0
8480
And param request = 'GetRecordById'
0
8481
And param id = '32b1eb9e-c54f-4598-92d2-328eb77fa0d3'
0
8482
And param elementsetname = 'full'
0
8483
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
8484
When method get
1774
8485
Then status 200
0
8486
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '32b1eb9e-c54f-4598-92d2-328eb77fa0d3'
1
8487
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
8488
* def title = get response //citation/CI_Citation/title/CharacterString
0
8489
* def email = get response //electronicMailAddress/CharacterString
0
8490
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
8491
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
1
8492
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
1
8493
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
3
8494
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
3
8495
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
8496
* print organisationpath
0
06:40:13.289 [print] Beheer PDOK
8497
* print operateson
0
06:40:13.289 [print] http://nationaalgeoregister.nl/geonetwork/srv/eng/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=8829e5dd-c861-4639-a6c8-fdbb6e3440d2#MD_DataIdentification
8498
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
8499
* eval db.writeln('"32b1eb9e-c54f-4598-92d2-328eb77fa0d3","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
4
8500
* eval db.writeln('"32b1eb9e-c54f-4598-92d2-328eb77fa0d3","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
5
Scenario Outline: [1.251:18]ce963e61-779f-470f-a99d-48d9796e5ba3
ms: 1618
>>
Background:
8501
* url 'http://nationaalgeoregister.nl/'
1
06:39:54.462 karate.env system property was:
8502
* def mystorage = Java.type('storage.DataStorage')
1
8503
* def db = new mystorage
1
8504
* def db = db.setfeature(karate.info.featureFileName)
4
8505
* def separator = java.lang.System.getProperty("file.separator")
1
8506
* def outputpath = db.outputpath()
1
8507
* eval db.ensureDirectory(outputpath)
1
8508
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
8509
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
8510
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
8511
Given path 'geonetwork/srv/dut/inspire'
0
8512
And param service = 'CSW'
0
8513
And param version = '2.0.2'
0
8514
And param request = 'GetRecordById'
0
8515
And param id = 'ce963e61-779f-470f-a99d-48d9796e5ba3'
0
8516
And param elementsetname = 'full'
0
8517
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
8518
When method get
1606
8519
Then status 200
0
8520
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'ce963e61-779f-470f-a99d-48d9796e5ba3'
1
8521
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
8522
* def title = get response //citation/CI_Citation/title/CharacterString
1
8523
* def email = get response //electronicMailAddress/CharacterString
1
8524
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
8525
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
8526
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
8527
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
8528
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
1
8529
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
8530
* print organisationpath
1
06:40:13.293 [print] Beheer PDOK
8531
* print operateson
0
06:40:13.293 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=1a40eb6f-4f33-4e15-a0b1-2d350ad2636e#MD_DataIdentification
8532
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
8533
* eval db.writeln('"ce963e61-779f-470f-a99d-48d9796e5ba3","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
8534
* eval db.writeln('"ce963e61-779f-470f-a99d-48d9796e5ba3","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.252:18]bc0b75c6-3eef-49de-aca2-8483024903c1
ms: 1586
>>
Background:
8535
* url 'http://nationaalgeoregister.nl/'
1
06:39:54.462 karate.env system property was:
8536
* def mystorage = Java.type('storage.DataStorage')
1
8537
* def db = new mystorage
1
8538
* def db = db.setfeature(karate.info.featureFileName)
4
8539
* def separator = java.lang.System.getProperty("file.separator")
1
8540
* def outputpath = db.outputpath()
1
8541
* eval db.ensureDirectory(outputpath)
1
8542
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
8543
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
8544
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
8545
Given path 'geonetwork/srv/dut/inspire'
0
8546
And param service = 'CSW'
0
8547
And param version = '2.0.2'
0
8548
And param request = 'GetRecordById'
0
8549
And param id = 'bc0b75c6-3eef-49de-aca2-8483024903c1'
0
8550
And param elementsetname = 'full'
0
8551
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
8552
When method get
1574
8553
Then status 200
0
8554
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'bc0b75c6-3eef-49de-aca2-8483024903c1'
1
8555
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
8556
* def title = get response //citation/CI_Citation/title/CharacterString
0
8557
* def email = get response //electronicMailAddress/CharacterString
1
8558
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
8559
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
8560
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
1
8561
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
8562
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
8563
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
8564
* print organisationpath
0
06:40:13.280 [print] Beheer PDOK
8565
* print operateson
0
06:40:13.280 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=19165027-a13a-4c19-9013-ec1fd191019d#MD_DataIdentification
8566
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
8567
* eval db.writeln('"bc0b75c6-3eef-49de-aca2-8483024903c1","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
8568
* eval db.writeln('"bc0b75c6-3eef-49de-aca2-8483024903c1","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
3
Scenario Outline: [1.253:18]5255c080-5f4e-4f7a-8a2c-6ac9d0103288
ms: 1535
>>
Background:
8569
* url 'http://nationaalgeoregister.nl/'
1
06:39:54.462 karate.env system property was:
8570
* def mystorage = Java.type('storage.DataStorage')
1
8571
* def db = new mystorage
1
8572
* def db = db.setfeature(karate.info.featureFileName)
4
8573
* def separator = java.lang.System.getProperty("file.separator")
1
8574
* def outputpath = db.outputpath()
1
8575
* eval db.ensureDirectory(outputpath)
1
8576
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
8577
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
8578
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
8579
Given path 'geonetwork/srv/dut/inspire'
0
8580
And param service = 'CSW'
0
8581
And param version = '2.0.2'
0
8582
And param request = 'GetRecordById'
0
8583
And param id = '5255c080-5f4e-4f7a-8a2c-6ac9d0103288'
0
8584
And param elementsetname = 'full'
0
8585
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
8586
When method get
1513
8587
Then status 200
0
8588
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '5255c080-5f4e-4f7a-8a2c-6ac9d0103288'
4
8589
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
8590
* def title = get response //citation/CI_Citation/title/CharacterString
0
8591
* def email = get response //electronicMailAddress/CharacterString
0
8592
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
8593
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
1
8594
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
8595
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
8596
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
8597
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
8598
* print organisationpath
0
06:40:13.304 [print]
8599
* print operateson
8
06:40:13.312 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=f8d840bc-18df-4449-b797-b9adcb81d3ec#MD_DataIdentification
8600
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
8601
* eval db.writeln('"5255c080-5f4e-4f7a-8a2c-6ac9d0103288","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
8602
* eval db.writeln('"5255c080-5f4e-4f7a-8a2c-6ac9d0103288","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.254:18]6de8b875-c4c2-4469-ac80-0782bb67f285
ms: 1592
>>
Background:
8603
* url 'http://nationaalgeoregister.nl/'
1
06:39:54.462 karate.env system property was:
8604
* def mystorage = Java.type('storage.DataStorage')
1
8605
* def db = new mystorage
1
8606
* def db = db.setfeature(karate.info.featureFileName)
4
8607
* def separator = java.lang.System.getProperty("file.separator")
1
8608
* def outputpath = db.outputpath()
1
8609
* eval db.ensureDirectory(outputpath)
1
8610
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
8611
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
8612
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
8613
Given path 'geonetwork/srv/dut/inspire'
0
8614
And param service = 'CSW'
0
8615
And param version = '2.0.2'
0
8616
And param request = 'GetRecordById'
0
8617
And param id = '6de8b875-c4c2-4469-ac80-0782bb67f285'
0
8618
And param elementsetname = 'full'
0
8619
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
8620
When method get
1581
8621
Then status 200
0
8622
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '6de8b875-c4c2-4469-ac80-0782bb67f285'
2
8623
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
8624
* def title = get response //citation/CI_Citation/title/CharacterString
1
8625
* def email = get response //electronicMailAddress/CharacterString
1
8626
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
8627
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
8628
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
8629
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
8630
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
8631
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
8632
* print organisationpath
0
06:40:13.435 [print] Beheer PDOK
8633
* print operateson
0
06:40:13.435 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=7dd1fd45-ace5-41e0-93a6-64e3be231717#MD_DataIdentification
8634
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
8635
* eval db.writeln('"6de8b875-c4c2-4469-ac80-0782bb67f285","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
8636
* eval db.writeln('"6de8b875-c4c2-4469-ac80-0782bb67f285","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.255:18]49a53bc1-dd76-417f-b9af-066901ddfec0
ms: 1606
>>
Background:
8637
* url 'http://nationaalgeoregister.nl/'
1
06:39:54.462 karate.env system property was:
8638
* def mystorage = Java.type('storage.DataStorage')
1
8639
* def db = new mystorage
1
8640
* def db = db.setfeature(karate.info.featureFileName)
4
8641
* def separator = java.lang.System.getProperty("file.separator")
1
8642
* def outputpath = db.outputpath()
1
8643
* eval db.ensureDirectory(outputpath)
1
8644
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
8645
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
8646
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
8647
Given path 'geonetwork/srv/dut/inspire'
0
8648
And param service = 'CSW'
0
8649
And param version = '2.0.2'
0
8650
And param request = 'GetRecordById'
0
8651
And param id = '49a53bc1-dd76-417f-b9af-066901ddfec0'
17
8652
And param elementsetname = 'full'
0
8653
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
8654
When method get
1566
8655
Then status 200
0
8656
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '49a53bc1-dd76-417f-b9af-066901ddfec0'
1
8657
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
8658
* def title = get response //citation/CI_Citation/title/CharacterString
0
8659
* def email = get response //electronicMailAddress/CharacterString
0
8660
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
8661
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
8662
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
6
8663
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
5
8664
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
8665
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
8666
* print organisationpath
0
06:40:13.511 [print] Ministerie van Defensie, Koninklijke Marine, Dienst der Hydrografie
8667
* print operateson
1
06:40:13.512 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=be6551de-a709-4c6d-a5e2-f63f0cf038ba&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full#MD_DataIdentification
8668
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
8669
* eval db.writeln('"49a53bc1-dd76-417f-b9af-066901ddfec0","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
3
8670
* eval db.writeln('"49a53bc1-dd76-417f-b9af-066901ddfec0","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.256:18]ff8f6da2-949e-4838-90f6-fd895a4a240f
ms: 1528
>>
Background:
8671
* url 'http://nationaalgeoregister.nl/'
1
06:39:54.462 karate.env system property was:
8672
* def mystorage = Java.type('storage.DataStorage')
1
8673
* def db = new mystorage
1
8674
* def db = db.setfeature(karate.info.featureFileName)
4
8675
* def separator = java.lang.System.getProperty("file.separator")
1
8676
* def outputpath = db.outputpath()
1
8677
* eval db.ensureDirectory(outputpath)
1
8678
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
8679
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
8680
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
8681
Given path 'geonetwork/srv/dut/inspire'
14
8682
And param service = 'CSW'
2
8683
And param version = '2.0.2'
4
8684
And param request = 'GetRecordById'
1
8685
And param id = 'ff8f6da2-949e-4838-90f6-fd895a4a240f'
4
8686
And param elementsetname = 'full'
1
8687
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
8688
When method get
1491
8689
Then status 200
0
8690
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'ff8f6da2-949e-4838-90f6-fd895a4a240f'
2
8691
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
8692
* def title = get response //citation/CI_Citation/title/CharacterString
1
8693
* def email = get response //electronicMailAddress/CharacterString
1
8694
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
8695
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
1
8696
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
1
8697
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
8698
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
8699
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
8700
* print organisationpath
0
06:40:13.503 [print]
8701
* print operateson
0
06:40:13.503 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=d24ccb35-e9d2-41bf-b231-43083fc0c76d#MD_DataIdentification
8702
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
8703
* eval db.writeln('"ff8f6da2-949e-4838-90f6-fd895a4a240f","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
8704
* eval db.writeln('"ff8f6da2-949e-4838-90f6-fd895a4a240f","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.257:18]127125c8-20c2-451a-a1c8-f9aad8ae5c5e
ms: 1589
>>
Background:
8705
* url 'http://nationaalgeoregister.nl/'
1
06:39:54.462 karate.env system property was:
8706
* def mystorage = Java.type('storage.DataStorage')
1
8707
* def db = new mystorage
1
8708
* def db = db.setfeature(karate.info.featureFileName)
4
8709
* def separator = java.lang.System.getProperty("file.separator")
1
8710
* def outputpath = db.outputpath()
1
8711
* eval db.ensureDirectory(outputpath)
1
8712
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
8713
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
8714
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
8715
Given path 'geonetwork/srv/dut/inspire'
16
8716
And param service = 'CSW'
0
8717
And param version = '2.0.2'
0
8718
And param request = 'GetRecordById'
0
8719
And param id = '127125c8-20c2-451a-a1c8-f9aad8ae5c5e'
0
8720
And param elementsetname = 'full'
0
8721
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
8722
When method get
1562
8723
Then status 200
0
8724
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '127125c8-20c2-451a-a1c8-f9aad8ae5c5e'
2
8725
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
8726
* def title = get response //citation/CI_Citation/title/CharacterString
1
8727
* def email = get response //electronicMailAddress/CharacterString
1
8728
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
8729
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
8730
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
8731
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
8732
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
8733
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
8734
* print organisationpath
0
06:40:13.577 [print] Beheer PDOK
8735
* print operateson
0
06:40:13.577 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=6cde2ce7-3ecd-4785-b7b8-d62c3381efe9#MD_DataIdentification
8736
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
8737
* eval db.writeln('"127125c8-20c2-451a-a1c8-f9aad8ae5c5e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
8738
* eval db.writeln('"127125c8-20c2-451a-a1c8-f9aad8ae5c5e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.258:18]d7d19437-f875-45b3-86cd-2fa3335479ec
ms: 1604
>>
Background:
8739
* url 'http://nationaalgeoregister.nl/'
1
06:39:54.462 karate.env system property was:
8740
* def mystorage = Java.type('storage.DataStorage')
1
8741
* def db = new mystorage
1
8742
* def db = db.setfeature(karate.info.featureFileName)
4
8743
* def separator = java.lang.System.getProperty("file.separator")
1
8744
* def outputpath = db.outputpath()
1
8745
* eval db.ensureDirectory(outputpath)
1
8746
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
8747
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
8748
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
8749
Given path 'geonetwork/srv/dut/inspire'
1
8750
And param service = 'CSW'
0
8751
And param version = '2.0.2'
0
8752
And param request = 'GetRecordById'
0
8753
And param id = 'd7d19437-f875-45b3-86cd-2fa3335479ec'
0
8754
And param elementsetname = 'full'
0
8755
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
8756
When method get
1594
8757
Then status 200
0
8758
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'd7d19437-f875-45b3-86cd-2fa3335479ec'
1
8759
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
8760
* def title = get response //citation/CI_Citation/title/CharacterString
0
8761
* def email = get response //electronicMailAddress/CharacterString
0
8762
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
8763
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
8764
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
8765
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
8766
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
8767
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
8768
* print organisationpath
0
06:40:13.681 [print] Beheer PDOK
8769
* print operateson
0
06:40:13.681 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=247a1d15-0a67-40ce-85be-1403c08f15a8#MD_DataIdentification
8770
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
8771
* eval db.writeln('"d7d19437-f875-45b3-86cd-2fa3335479ec","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
8772
* eval db.writeln('"d7d19437-f875-45b3-86cd-2fa3335479ec","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.259:18]01572637-b851-4cc3-b06a-56c1ae1115cc
ms: 1531
>>
Background:
8773
* url 'http://nationaalgeoregister.nl/'
1
06:39:54.462 karate.env system property was:
8774
* def mystorage = Java.type('storage.DataStorage')
1
8775
* def db = new mystorage
1
8776
* def db = db.setfeature(karate.info.featureFileName)
4
8777
* def separator = java.lang.System.getProperty("file.separator")
1
8778
* def outputpath = db.outputpath()
1
8779
* eval db.ensureDirectory(outputpath)
1
8780
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
8781
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
8782
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
8783
Given path 'geonetwork/srv/dut/inspire'
0
8784
And param service = 'CSW'
0
8785
And param version = '2.0.2'
0
8786
And param request = 'GetRecordById'
0
8787
And param id = '01572637-b851-4cc3-b06a-56c1ae1115cc'
0
8788
And param elementsetname = 'full'
0
8789
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
8790
When method get
1522
8791
Then status 200
0
8792
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '01572637-b851-4cc3-b06a-56c1ae1115cc'
1
8793
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
8794
* def title = get response //citation/CI_Citation/title/CharacterString
0
8795
* def email = get response //electronicMailAddress/CharacterString
0
8796
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
8797
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
8798
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
8799
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
8800
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
8801
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
8802
* print organisationpath
0
06:40:13.709 [print]
8803
* print operateson
0
06:40:13.709 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=d9baa847-4652-4588-abe1-0b050f40f27f#MD_DataIdentification
8804
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
8805
* eval db.writeln('"01572637-b851-4cc3-b06a-56c1ae1115cc","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
8806
* eval db.writeln('"01572637-b851-4cc3-b06a-56c1ae1115cc","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.260:18]e08079df-6c19-486e-916e-5c9948cfafea
ms: 1506
>>
Background:
8807
* url 'http://nationaalgeoregister.nl/'
1
06:39:54.462 karate.env system property was:
8808
* def mystorage = Java.type('storage.DataStorage')
1
8809
* def db = new mystorage
1
8810
* def db = db.setfeature(karate.info.featureFileName)
4
8811
* def separator = java.lang.System.getProperty("file.separator")
1
8812
* def outputpath = db.outputpath()
1
8813
* eval db.ensureDirectory(outputpath)
1
8814
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
8815
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
8816
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
8817
Given path 'geonetwork/srv/dut/inspire'
1
8818
And param service = 'CSW'
0
8819
And param version = '2.0.2'
0
8820
And param request = 'GetRecordById'
0
8821
And param id = 'e08079df-6c19-486e-916e-5c9948cfafea'
1
8822
And param elementsetname = 'full'
0
8823
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
8824
When method get
1495
8825
Then status 200
0
8826
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'e08079df-6c19-486e-916e-5c9948cfafea'
2
8827
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
8828
* def title = get response //citation/CI_Citation/title/CharacterString
0
8829
* def email = get response //electronicMailAddress/CharacterString
1
8830
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
8831
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
8832
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
8833
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
8834
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
8835
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
8836
* print organisationpath
0
06:40:13.770 [print] Beheer PDOK
8837
* print operateson
0
06:40:13.770 [print] https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=10d1153e-778f-4995-9b6c-7c69b196cccb#MD_DataIdentification
8838
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
8839
* eval db.writeln('"e08079df-6c19-486e-916e-5c9948cfafea","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
8840
* eval db.writeln('"e08079df-6c19-486e-916e-5c9948cfafea","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.261:18]82fa284e-8218-40e4-a593-c2f8a832c3d5
ms: 1513
>>
Background:
8841
* url 'http://nationaalgeoregister.nl/'
1
06:39:54.462 karate.env system property was:
8842
* def mystorage = Java.type('storage.DataStorage')
1
8843
* def db = new mystorage
1
8844
* def db = db.setfeature(karate.info.featureFileName)
4
8845
* def separator = java.lang.System.getProperty("file.separator")
1
8846
* def outputpath = db.outputpath()
1
8847
* eval db.ensureDirectory(outputpath)
1
8848
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
8849
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
8850
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
8851
Given path 'geonetwork/srv/dut/inspire'
1
8852
And param service = 'CSW'
0
8853
And param version = '2.0.2'
0
8854
And param request = 'GetRecordById'
0
8855
And param id = '82fa284e-8218-40e4-a593-c2f8a832c3d5'
1
8856
And param elementsetname = 'full'
0
8857
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
8858
When method get
1500
8859
Then status 200
0
8860
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '82fa284e-8218-40e4-a593-c2f8a832c3d5'
2
8861
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
8862
* def title = get response //citation/CI_Citation/title/CharacterString
1
8863
* def email = get response //electronicMailAddress/CharacterString
1
8864
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
8865
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
1
8866
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
1
8867
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
1
8868
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
1
8869
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
8870
* print organisationpath
0
06:40:13.836 [print]
8871
* print operateson
0
06:40:13.836 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&ID=b61a773c-ecad-4e60-93e9-0a4caac0b52f&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full#MD_DataIdentification
8872
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
8873
* eval db.writeln('"82fa284e-8218-40e4-a593-c2f8a832c3d5","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
8874
* eval db.writeln('"82fa284e-8218-40e4-a593-c2f8a832c3d5","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.262:18]1ce74355-763a-481d-b9d7-aaafbf0d7d53
ms: 1455
>>
Background:
8875
* url 'http://nationaalgeoregister.nl/'
1
06:39:54.462 karate.env system property was:
8876
* def mystorage = Java.type('storage.DataStorage')
1
8877
* def db = new mystorage
1
8878
* def db = db.setfeature(karate.info.featureFileName)
4
8879
* def separator = java.lang.System.getProperty("file.separator")
1
8880
* def outputpath = db.outputpath()
1
8881
* eval db.ensureDirectory(outputpath)
1
8882
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
8883
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
8884
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
8885
Given path 'geonetwork/srv/dut/inspire'
1
8886
And param service = 'CSW'
0
8887
And param version = '2.0.2'
0
8888
And param request = 'GetRecordById'
0
8889
And param id = '1ce74355-763a-481d-b9d7-aaafbf0d7d53'
1
8890
And param elementsetname = 'full'
0
8891
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
8892
When method get
1436
8893
Then status 200
0
8894
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '1ce74355-763a-481d-b9d7-aaafbf0d7d53'
3
8895
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
2
8896
* def title = get response //citation/CI_Citation/title/CharacterString
2
8897
* def email = get response //electronicMailAddress/CharacterString
1
8898
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
8899
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
1
8900
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
1
8901
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
1
8902
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
1
8903
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
8904
* print organisationpath
0
06:40:13.925 [print] Beheer PDOK
8905
* print operateson
0
06:40:13.925 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=28c4780a-1a44-4376-b283-14a50a481729#MD_DataIdentification
8906
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
8907
* eval db.writeln('"1ce74355-763a-481d-b9d7-aaafbf0d7d53","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
8908
* eval db.writeln('"1ce74355-763a-481d-b9d7-aaafbf0d7d53","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.263:18]ea4cb6a2-f637-413a-91cc-d58473c2f138
ms: 1518
>>
Background:
8909
* url 'http://nationaalgeoregister.nl/'
1
06:39:54.462 karate.env system property was:
8910
* def mystorage = Java.type('storage.DataStorage')
1
8911
* def db = new mystorage
1
8912
* def db = db.setfeature(karate.info.featureFileName)
4
8913
* def separator = java.lang.System.getProperty("file.separator")
1
8914
* def outputpath = db.outputpath()
1
8915
* eval db.ensureDirectory(outputpath)
1
8916
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
8917
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
8918
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
8919
Given path 'geonetwork/srv/dut/inspire'
0
8920
And param service = 'CSW'
0
8921
And param version = '2.0.2'
0
8922
And param request = 'GetRecordById'
0
8923
And param id = 'ea4cb6a2-f637-413a-91cc-d58473c2f138'
1
8924
And param elementsetname = 'full'
0
8925
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
8926
When method get
1507
8927
Then status 200
0
8928
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'ea4cb6a2-f637-413a-91cc-d58473c2f138'
1
8929
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
8930
* def title = get response //citation/CI_Citation/title/CharacterString
1
8931
* def email = get response //electronicMailAddress/CharacterString
0
8932
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
8933
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
8934
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
8935
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
8936
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
8937
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
8938
* print organisationpath
0
06:40:13.994 [print] Interprovinciaal Overleg
8939
* print operateson
0
06:40:13.994 [print] [
"http://www.nationaalgeoregister.nl/geonetwork/srv/nl/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=c829abeb-bfac-4224-8332-e7a9a89e692e&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full#MD_DataIdentification",
"http://www.nationaalgeoregister.nl/geonetwork/srv/nl/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=fe45c540-e37d-11e4-b571-0800200c9a66&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full#MD_DataIdentification"
]
8940
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
8941
* eval db.writeln('"ea4cb6a2-f637-413a-91cc-d58473c2f138","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
8942
* eval db.writeln('"ea4cb6a2-f637-413a-91cc-d58473c2f138","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.264:18]5b40b9b4-fcb2-4553-bcab-34824c43c992
ms: 1517
>>
Background:
8943
* url 'http://nationaalgeoregister.nl/'
1
06:39:54.462 karate.env system property was:
8944
* def mystorage = Java.type('storage.DataStorage')
1
8945
* def db = new mystorage
1
8946
* def db = db.setfeature(karate.info.featureFileName)
4
8947
* def separator = java.lang.System.getProperty("file.separator")
1
8948
* def outputpath = db.outputpath()
1
8949
* eval db.ensureDirectory(outputpath)
1
8950
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
8951
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
8952
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
8953
Given path 'geonetwork/srv/dut/inspire'
0
8954
And param service = 'CSW'
0
8955
And param version = '2.0.2'
0
8956
And param request = 'GetRecordById'
0
8957
And param id = '5b40b9b4-fcb2-4553-bcab-34824c43c992'
1
8958
And param elementsetname = 'full'
0
8959
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
8960
When method get
1507
8961
Then status 200
0
8962
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '5b40b9b4-fcb2-4553-bcab-34824c43c992'
1
8963
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
8964
* def title = get response //citation/CI_Citation/title/CharacterString
0
8965
* def email = get response //electronicMailAddress/CharacterString
0
8966
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
8967
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
8968
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
8969
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
8970
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
8971
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
8972
* print organisationpath
0
06:40:14.030 [print] Beheer PDOK
8973
* print operateson
0
06:40:14.030 [print] https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=a5f961e9-ebdd-41e2-b8e8-ab33ed340a83#MD_DataIdentification
8974
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
8975
* eval db.writeln('"5b40b9b4-fcb2-4553-bcab-34824c43c992","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
8976
* eval db.writeln('"5b40b9b4-fcb2-4553-bcab-34824c43c992","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.265:18]58353cdf-b3a1-454e-9284-932a7e815e57
ms: 1759
>>
Background:
8977
* url 'http://nationaalgeoregister.nl/'
1
06:39:54.462 karate.env system property was:
8978
* def mystorage = Java.type('storage.DataStorage')
1
8979
* def db = new mystorage
1
8980
* def db = db.setfeature(karate.info.featureFileName)
4
8981
* def separator = java.lang.System.getProperty("file.separator")
1
8982
* def outputpath = db.outputpath()
1
8983
* eval db.ensureDirectory(outputpath)
1
8984
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
8985
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
8986
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
8987
Given path 'geonetwork/srv/dut/inspire'
0
8988
And param service = 'CSW'
0
8989
And param version = '2.0.2'
0
8990
And param request = 'GetRecordById'
0
8991
And param id = '58353cdf-b3a1-454e-9284-932a7e815e57'
1
8992
And param elementsetname = 'full'
0
8993
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
8994
When method get
1744
8995
Then status 200
0
8996
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '58353cdf-b3a1-454e-9284-932a7e815e57'
2
8997
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
8998
* def title = get response //citation/CI_Citation/title/CharacterString
1
8999
* def email = get response //electronicMailAddress/CharacterString
1
9000
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
9001
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
9002
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
9003
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
9004
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
2
9005
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
9006
* print organisationpath
0
06:40:14.327 [print] Beheer PDOK
9007
* print operateson
0
06:40:14.328 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=1c3afc74-cc34-44b7-938a-963e2350795a#MD_DataIdentification
9008
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
9009
* eval db.writeln('"58353cdf-b3a1-454e-9284-932a7e815e57","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
9010
* eval db.writeln('"58353cdf-b3a1-454e-9284-932a7e815e57","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.266:18]315a465b-e95d-46ea-9d97-8bbee81844cc
ms: 1646
>>
Background:
9011
* url 'http://nationaalgeoregister.nl/'
1
06:39:54.462 karate.env system property was:
9012
* def mystorage = Java.type('storage.DataStorage')
1
9013
* def db = new mystorage
1
9014
* def db = db.setfeature(karate.info.featureFileName)
4
9015
* def separator = java.lang.System.getProperty("file.separator")
1
9016
* def outputpath = db.outputpath()
1
9017
* eval db.ensureDirectory(outputpath)
1
9018
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
9019
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
9020
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
9021
Given path 'geonetwork/srv/dut/inspire'
0
9022
And param service = 'CSW'
0
9023
And param version = '2.0.2'
0
9024
And param request = 'GetRecordById'
0
9025
And param id = '315a465b-e95d-46ea-9d97-8bbee81844cc'
0
9026
And param elementsetname = 'full'
0
9027
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
9028
When method get
1634
9029
Then status 200
0
9030
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '315a465b-e95d-46ea-9d97-8bbee81844cc'
2
9031
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
9032
* def title = get response //citation/CI_Citation/title/CharacterString
1
9033
* def email = get response //electronicMailAddress/CharacterString
1
9034
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
9035
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
1
9036
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
1
9037
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
9038
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
9039
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
9040
* print organisationpath
0
06:40:14.405 [print] Beheer PDOK
9041
* print operateson
0
06:40:14.405 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=14657c9b-91e4-4355-8563-2911ad0e78e4#MD_DataIdentification
9042
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
9043
* eval db.writeln('"315a465b-e95d-46ea-9d97-8bbee81844cc","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
9044
* eval db.writeln('"315a465b-e95d-46ea-9d97-8bbee81844cc","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.267:18]bf56537a-dce6-11e3-82c1-901b0e19e163
ms: 1479
>>
Background:
9045
* url 'http://nationaalgeoregister.nl/'
1
06:39:54.462 karate.env system property was:
9046
* def mystorage = Java.type('storage.DataStorage')
1
9047
* def db = new mystorage
1
9048
* def db = db.setfeature(karate.info.featureFileName)
4
9049
* def separator = java.lang.System.getProperty("file.separator")
1
9050
* def outputpath = db.outputpath()
1
9051
* eval db.ensureDirectory(outputpath)
1
9052
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
9053
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
9054
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
9055
Given path 'geonetwork/srv/dut/inspire'
0
9056
And param service = 'CSW'
0
9057
And param version = '2.0.2'
0
9058
And param request = 'GetRecordById'
0
9059
And param id = 'bf56537a-dce6-11e3-82c1-901b0e19e163'
0
9060
And param elementsetname = 'full'
0
9061
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
9062
When method get
1467
9063
Then status 200
0
9064
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'bf56537a-dce6-11e3-82c1-901b0e19e163'
2
9065
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
9066
* def title = get response //citation/CI_Citation/title/CharacterString
0
9067
* def email = get response //electronicMailAddress/CharacterString
0
9068
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
9069
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
9070
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
9071
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
9072
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
9073
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
9074
* print organisationpath
0
06:40:14.246 [print] Koninklijk Nederlands Meteorologisch Instituut (KNMI)
9075
* print operateson
0
06:40:14.246 [print] http://data.knmi.nl/inspire/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=daa63e4c-dce6-11e3-991e-901b0e19e163&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full
9076
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
9077
* eval db.writeln('"bf56537a-dce6-11e3-82c1-901b0e19e163","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
9078
* eval db.writeln('"bf56537a-dce6-11e3-82c1-901b0e19e163","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.268:18]702060c1-b3fd-44ec-8cc6-d4249d150110
ms: 1764
>>
Background:
9079
* url 'http://nationaalgeoregister.nl/'
1
06:39:54.462 karate.env system property was:
9080
* def mystorage = Java.type('storage.DataStorage')
1
9081
* def db = new mystorage
1
9082
* def db = db.setfeature(karate.info.featureFileName)
4
9083
* def separator = java.lang.System.getProperty("file.separator")
1
9084
* def outputpath = db.outputpath()
1
9085
* eval db.ensureDirectory(outputpath)
1
9086
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
9087
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
9088
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
9089
Given path 'geonetwork/srv/dut/inspire'
0
9090
And param service = 'CSW'
0
9091
And param version = '2.0.2'
0
9092
And param request = 'GetRecordById'
0
9093
And param id = '702060c1-b3fd-44ec-8cc6-d4249d150110'
0
9094
And param elementsetname = 'full'
0
9095
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
9096
When method get
1753
9097
Then status 200
0
9098
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '702060c1-b3fd-44ec-8cc6-d4249d150110'
1
9099
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
9100
* def title = get response //citation/CI_Citation/title/CharacterString
1
9101
* def email = get response //electronicMailAddress/CharacterString
1
9102
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
9103
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
9104
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
9105
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
9106
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
9107
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
9108
* print organisationpath
0
06:40:14.544 [print] Interprovinciaal Overleg
9109
* print operateson
0
06:40:14.544 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/nl/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=88e2a6fa-b296-4ff4-bc30-fb87e2c1627e&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full#MD_DataIdentification
9110
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
9111
* eval db.writeln('"702060c1-b3fd-44ec-8cc6-d4249d150110","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
9112
* eval db.writeln('"702060c1-b3fd-44ec-8cc6-d4249d150110","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
3
Scenario Outline: [1.269:18]adn573b0-bd3b-4d7b-a97d-e65841e6e0b1
ms: 1604
>>
Background:
9113
* url 'http://nationaalgeoregister.nl/'
1
06:39:54.462 karate.env system property was:
9114
* def mystorage = Java.type('storage.DataStorage')
1
9115
* def db = new mystorage
1
9116
* def db = db.setfeature(karate.info.featureFileName)
4
9117
* def separator = java.lang.System.getProperty("file.separator")
1
9118
* def outputpath = db.outputpath()
1
9119
* eval db.ensureDirectory(outputpath)
1
9120
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
9121
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
9122
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
9123
Given path 'geonetwork/srv/dut/inspire'
0
9124
And param service = 'CSW'
0
9125
And param version = '2.0.2'
0
9126
And param request = 'GetRecordById'
0
9127
And param id = 'adn573b0-bd3b-4d7b-a97d-e65841e6e0b1'
0
9128
And param elementsetname = 'full'
0
9129
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
9130
When method get
1591
9131
Then status 200
0
9132
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'adn573b0-bd3b-4d7b-a97d-e65841e6e0b1'
2
9133
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
9134
* def title = get response //citation/CI_Citation/title/CharacterString
0
9135
* def email = get response //electronicMailAddress/CharacterString
0
9136
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
9137
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
9138
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
1
9139
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
9140
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
9141
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
9142
* print organisationpath
0
06:40:14.490 [print] Rijkswaterstaat
9143
* print operateson
0
06:40:14.490 [print] http://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=csw&VERSION=2.0.2&REQUEST=GetRecordById&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full&ID=adn73c4a-ef03-4785-b7f6-942e86b385f5#MD_DataIdentification
9144
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
9145
* eval db.writeln('"adn573b0-bd3b-4d7b-a97d-e65841e6e0b1","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
9146
* eval db.writeln('"adn573b0-bd3b-4d7b-a97d-e65841e6e0b1","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
3
Scenario Outline: [1.270:18]adn573b0-bd3b-4d7b-a97d-e65841e6e0b3
ms: 1736
>>
Background:
9147
* url 'http://nationaalgeoregister.nl/'
1
06:39:54.462 karate.env system property was:
9148
* def mystorage = Java.type('storage.DataStorage')
1
9149
* def db = new mystorage
1
9150
* def db = db.setfeature(karate.info.featureFileName)
4
9151
* def separator = java.lang.System.getProperty("file.separator")
1
9152
* def outputpath = db.outputpath()
1
9153
* eval db.ensureDirectory(outputpath)
1
9154
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
9155
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
9156
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
9157
Given path 'geonetwork/srv/dut/inspire'
0
9158
And param service = 'CSW'
0
9159
And param version = '2.0.2'
0
9160
And param request = 'GetRecordById'
0
9161
And param id = 'adn573b0-bd3b-4d7b-a97d-e65841e6e0b3'
0
9162
And param elementsetname = 'full'
0
9163
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
9164
When method get
1725
9165
Then status 200
0
9166
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'adn573b0-bd3b-4d7b-a97d-e65841e6e0b3'
2
9167
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
9168
* def title = get response //citation/CI_Citation/title/CharacterString
1
9169
* def email = get response //electronicMailAddress/CharacterString
1
9170
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
9171
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
9172
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
9173
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
9174
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
9175
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
9176
* print organisationpath
0
06:40:14.702 [print] Rijkswaterstaat
9177
* print operateson
0
06:40:14.702 [print] http://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=csw&VERSION=2.0.2&REQUEST=GetRecordById&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full&ID=adn73c4a-ef03-4785-b7f6-942e86b385f5#MD_DataIdentification
9178
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
9179
* eval db.writeln('"adn573b0-bd3b-4d7b-a97d-e65841e6e0b3","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
9180
* eval db.writeln('"adn573b0-bd3b-4d7b-a97d-e65841e6e0b3","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.271:18]adn573b0-bd3b-4d7b-a97d-e65841e6e0b2
ms: 1962
>>
Background:
9181
* url 'http://nationaalgeoregister.nl/'
1
06:39:54.462 karate.env system property was:
9182
* def mystorage = Java.type('storage.DataStorage')
1
9183
* def db = new mystorage
1
9184
* def db = db.setfeature(karate.info.featureFileName)
4
9185
* def separator = java.lang.System.getProperty("file.separator")
1
9186
* def outputpath = db.outputpath()
1
9187
* eval db.ensureDirectory(outputpath)
1
9188
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
9189
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
9190
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
9191
Given path 'geonetwork/srv/dut/inspire'
6
9192
And param service = 'CSW'
4
9193
And param version = '2.0.2'
0
9194
And param request = 'GetRecordById'
0
9195
And param id = 'adn573b0-bd3b-4d7b-a97d-e65841e6e0b2'
2
9196
And param elementsetname = 'full'
0
9197
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
9198
When method get
1942
9199
Then status 200
0
9200
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'adn573b0-bd3b-4d7b-a97d-e65841e6e0b2'
1
9201
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
9202
* def title = get response //citation/CI_Citation/title/CharacterString
0
9203
* def email = get response //electronicMailAddress/CharacterString
0
9204
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
9205
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
9206
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
9207
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
9208
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
9209
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
9210
* print organisationpath
0
06:40:14.980 [print] Rijkswaterstaat
9211
* print operateson
0
06:40:14.980 [print] http://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=csw&VERSION=2.0.2&REQUEST=GetRecordById&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full&ID=adn73c4a-ef03-4785-b7f6-942e86b385f7#MD_DataIdentification
9212
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
9213
* eval db.writeln('"adn573b0-bd3b-4d7b-a97d-e65841e6e0b2","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
9214
* eval db.writeln('"adn573b0-bd3b-4d7b-a97d-e65841e6e0b2","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.272:18]adn573b0-bd3b-4d7b-a97d-e65841e6e0b4
ms: 1635
>>
Background:
9215
* url 'http://nationaalgeoregister.nl/'
1
06:39:54.462 karate.env system property was:
9216
* def mystorage = Java.type('storage.DataStorage')
1
9217
* def db = new mystorage
1
9218
* def db = db.setfeature(karate.info.featureFileName)
4
9219
* def separator = java.lang.System.getProperty("file.separator")
1
9220
* def outputpath = db.outputpath()
1
9221
* eval db.ensureDirectory(outputpath)
1
9222
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
9223
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
9224
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
9225
Given path 'geonetwork/srv/dut/inspire'
2
9226
And param service = 'CSW'
0
9227
And param version = '2.0.2'
0
9228
And param request = 'GetRecordById'
0
9229
And param id = 'adn573b0-bd3b-4d7b-a97d-e65841e6e0b4'
1
9230
And param elementsetname = 'full'
0
9231
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
9232
When method get
1623
9233
Then status 200
0
9234
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'adn573b0-bd3b-4d7b-a97d-e65841e6e0b4'
1
9235
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
9236
* def title = get response //citation/CI_Citation/title/CharacterString
0
9237
* def email = get response //electronicMailAddress/CharacterString
0
9238
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
9239
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
9240
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
9241
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
9242
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
9243
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
9244
* print organisationpath
0
06:40:14.657 [print] Rijkswaterstaat
9245
* print operateson
0
06:40:14.657 [print] http://nationaalgeoregister.nl/geonetwork/srv/en/csw?SERVICE=csw&VERSION=2.0.2&REQUEST=GetRecordById&ID=adn73c4a-ef03-4785-b7f6-942e86b385f7&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full#MD_DataIdentification
9246
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
9247
* eval db.writeln('"adn573b0-bd3b-4d7b-a97d-e65841e6e0b4","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
9248
* eval db.writeln('"adn573b0-bd3b-4d7b-a97d-e65841e6e0b4","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.273:18]wt-83730-e750-485a-9c0c-39bf9bt72cf8
ms: 1851
>>
Background:
9249
* url 'http://nationaalgeoregister.nl/'
1
06:39:54.462 karate.env system property was:
9250
* def mystorage = Java.type('storage.DataStorage')
1
9251
* def db = new mystorage
1
9252
* def db = db.setfeature(karate.info.featureFileName)
4
9253
* def separator = java.lang.System.getProperty("file.separator")
1
9254
* def outputpath = db.outputpath()
1
9255
* eval db.ensureDirectory(outputpath)
1
9256
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
9257
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
9258
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
9259
Given path 'geonetwork/srv/dut/inspire'
0
9260
And param service = 'CSW'
0
9261
And param version = '2.0.2'
0
9262
And param request = 'GetRecordById'
0
9263
And param id = 'wt-83730-e750-485a-9c0c-39bf9bt72cf8'
1
9264
And param elementsetname = 'full'
0
9265
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
9266
When method get
1833
9267
Then status 200
0
9268
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'wt-83730-e750-485a-9c0c-39bf9bt72cf8'
2
9269
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
9270
* def title = get response //citation/CI_Citation/title/CharacterString
1
9271
* def email = get response //electronicMailAddress/CharacterString
1
9272
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
9273
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
1
9274
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
1
9275
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
1
9276
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
1
9277
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
9278
* print organisationpath
1
06:40:14.880 [print] Rijkswaterstaat
9279
* print operateson
0
06:40:14.880 [print] http://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=csw&VERSION=2.0.2&REQUEST=GetRecordById&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full&ID=wt-83730-e750-485a-9c0c-39bf9be72cf8#MD_DataIdentification
9280
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
9281
* eval db.writeln('"wt-83730-e750-485a-9c0c-39bf9bt72cf8","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
9282
* eval db.writeln('"wt-83730-e750-485a-9c0c-39bf9bt72cf8","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
6
Scenario Outline: [1.274:18]wt-f5eb-b09f-4f6d-8397-8878a1t86238
ms: 1601
>>
Background:
9283
* url 'http://nationaalgeoregister.nl/'
1
06:39:54.462 karate.env system property was:
9284
* def mystorage = Java.type('storage.DataStorage')
1
9285
* def db = new mystorage
1
9286
* def db = db.setfeature(karate.info.featureFileName)
4
9287
* def separator = java.lang.System.getProperty("file.separator")
1
9288
* def outputpath = db.outputpath()
1
9289
* eval db.ensureDirectory(outputpath)
1
9290
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
9291
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
9292
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
9293
Given path 'geonetwork/srv/dut/inspire'
1
9294
And param service = 'CSW'
0
9295
And param version = '2.0.2'
0
9296
And param request = 'GetRecordById'
0
9297
And param id = 'wt-f5eb-b09f-4f6d-8397-8878a1t86238'
1
9298
And param elementsetname = 'full'
0
9299
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
9300
When method get
1587
9301
Then status 200
0
9302
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'wt-f5eb-b09f-4f6d-8397-8878a1t86238'
1
9303
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
9304
* def title = get response //citation/CI_Citation/title/CharacterString
0
9305
* def email = get response //electronicMailAddress/CharacterString
0
9306
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
9307
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
9308
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
9309
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
9310
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
9311
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
9312
* print organisationpath
0
06:40:14.880 [print] Rijkswaterstaat
9313
* print operateson
0
06:40:14.880 [print] http://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=csw&VERSION=2.0.2&REQUEST=GetRecordById&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full&ID=wt-f5eb-b09f-4f6d-8397-8878a1b86238#MD_DataIdentification
9314
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
9315
* eval db.writeln('"wt-f5eb-b09f-4f6d-8397-8878a1t86238","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
9316
* eval db.writeln('"wt-f5eb-b09f-4f6d-8397-8878a1t86238","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
4
Scenario Outline: [1.275:18]wt-3730-e750-485a-9c0c-39bf9bt72cf9
ms: 1749
>>
Background:
9317
* url 'http://nationaalgeoregister.nl/'
1
06:39:54.462 karate.env system property was:
9318
* def mystorage = Java.type('storage.DataStorage')
1
9319
* def db = new mystorage
1
9320
* def db = db.setfeature(karate.info.featureFileName)
4
9321
* def separator = java.lang.System.getProperty("file.separator")
1
9322
* def outputpath = db.outputpath()
1
9323
* eval db.ensureDirectory(outputpath)
1
9324
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
9325
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
9326
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
9327
Given path 'geonetwork/srv/dut/inspire'
4
9328
And param service = 'CSW'
0
9329
And param version = '2.0.2'
0
9330
And param request = 'GetRecordById'
0
9331
And param id = 'wt-3730-e750-485a-9c0c-39bf9bt72cf9'
1
9332
And param elementsetname = 'full'
0
9333
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
9334
When method get
1733
9335
Then status 200
0
9336
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'wt-3730-e750-485a-9c0c-39bf9bt72cf9'
2
9337
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
9338
* def title = get response //citation/CI_Citation/title/CharacterString
1
9339
* def email = get response //electronicMailAddress/CharacterString
1
9340
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
9341
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
9342
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
9343
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
9344
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
9345
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
9346
* print organisationpath
0
06:40:15.041 [print] Rijkswaterstaat
9347
* print operateson
0
06:40:15.042 [print] http://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=csw&VERSION=2.0.2&REQUEST=GetRecordById&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full&ID=wt-3730-e750-485a-9c0c-39bf9be72cf9#MD_DataIdentification
9348
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
9349
* eval db.writeln('"wt-3730-e750-485a-9c0c-39bf9bt72cf9","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
9350
* eval db.writeln('"wt-3730-e750-485a-9c0c-39bf9bt72cf9","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.276:18]wt-83730-e750-485a-9c0c-39bf9bf72cf8
ms: 1862
>>
Background:
9351
* url 'http://nationaalgeoregister.nl/'
1
06:39:54.462 karate.env system property was:
9352
* def mystorage = Java.type('storage.DataStorage')
1
9353
* def db = new mystorage
1
9354
* def db = db.setfeature(karate.info.featureFileName)
4
9355
* def separator = java.lang.System.getProperty("file.separator")
1
9356
* def outputpath = db.outputpath()
1
9357
* eval db.ensureDirectory(outputpath)
1
9358
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
9359
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
9360
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
9361
Given path 'geonetwork/srv/dut/inspire'
0
9362
And param service = 'CSW'
0
9363
And param version = '2.0.2'
0
9364
And param request = 'GetRecordById'
0
9365
And param id = 'wt-83730-e750-485a-9c0c-39bf9bf72cf8'
1
9366
And param elementsetname = 'full'
0
9367
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
9368
When method get
1851
9369
Then status 200
0
9370
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'wt-83730-e750-485a-9c0c-39bf9bf72cf8'
2
9371
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
9372
* def title = get response //citation/CI_Citation/title/CharacterString
1
9373
* def email = get response //electronicMailAddress/CharacterString
0
9374
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
9375
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
9376
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
9377
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
9378
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
9379
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
9380
* print organisationpath
0
06:40:15.157 [print] Rijkswaterstaat
9381
* print operateson
0
06:40:15.157 [print] http://nationaalgeoregister.nl/geonetwork/srv/en/csw?SERVICE=csw&VERSION=2.0.2&REQUEST=GetRecordById&ID=wt-83730-e750-485a-9c0c-39bf9be72cf8&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full#MD_DataIdentification
9382
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
9383
* eval db.writeln('"wt-83730-e750-485a-9c0c-39bf9bf72cf8","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
9384
* eval db.writeln('"wt-83730-e750-485a-9c0c-39bf9bf72cf8","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.277:18]wt-3730-e750-485a-9c0c-39bf9bf72cf9
ms: 1759
>>
Background:
9385
* url 'http://nationaalgeoregister.nl/'
1
06:39:54.462 karate.env system property was:
9386
* def mystorage = Java.type('storage.DataStorage')
1
9387
* def db = new mystorage
1
9388
* def db = db.setfeature(karate.info.featureFileName)
4
9389
* def separator = java.lang.System.getProperty("file.separator")
1
9390
* def outputpath = db.outputpath()
1
9391
* eval db.ensureDirectory(outputpath)
1
9392
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
9393
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
9394
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
9395
Given path 'geonetwork/srv/dut/inspire'
1
9396
And param service = 'CSW'
0
9397
And param version = '2.0.2'
0
9398
And param request = 'GetRecordById'
0
9399
And param id = 'wt-3730-e750-485a-9c0c-39bf9bf72cf9'
1
9400
And param elementsetname = 'full'
0
9401
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
9402
When method get
1747
9403
Then status 200
0
9404
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'wt-3730-e750-485a-9c0c-39bf9bf72cf9'
1
9405
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
9406
* def title = get response //citation/CI_Citation/title/CharacterString
0
9407
* def email = get response //electronicMailAddress/CharacterString
1
9408
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
9409
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
9410
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
9411
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
9412
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
9413
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
9414
* print organisationpath
0
06:40:15.070 [print] Rijkswaterstaat
9415
* print operateson
0
06:40:15.070 [print] http://nationaalgeoregister.nl/geonetwork/srv/en/csw?SERVICE=csw&VERSION=2.0.2&REQUEST=GetRecordById&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full&ID=wt-3730-e750-485a-9c0c-39bf9be72cf9#MD_DataIdentification
9416
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
9417
* eval db.writeln('"wt-3730-e750-485a-9c0c-39bf9bf72cf9","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
3
9418
* eval db.writeln('"wt-3730-e750-485a-9c0c-39bf9bf72cf9","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.278:18]wt-f5eb-b09f-4f6d-8397-8878a1f86238
ms: 1779
>>
Background:
9419
* url 'http://nationaalgeoregister.nl/'
1
06:39:54.462 karate.env system property was:
9420
* def mystorage = Java.type('storage.DataStorage')
1
9421
* def db = new mystorage
1
9422
* def db = db.setfeature(karate.info.featureFileName)
4
9423
* def separator = java.lang.System.getProperty("file.separator")
1
9424
* def outputpath = db.outputpath()
1
9425
* eval db.ensureDirectory(outputpath)
1
9426
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
9427
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
9428
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
9429
Given path 'geonetwork/srv/dut/inspire'
0
9430
And param service = 'CSW'
0
9431
And param version = '2.0.2'
0
9432
And param request = 'GetRecordById'
0
9433
And param id = 'wt-f5eb-b09f-4f6d-8397-8878a1f86238'
0
9434
And param elementsetname = 'full'
0
9435
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
9436
When method get
1766
9437
Then status 200
0
9438
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'wt-f5eb-b09f-4f6d-8397-8878a1f86238'
2
9439
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
9440
* def title = get response //citation/CI_Citation/title/CharacterString
1
9441
* def email = get response //electronicMailAddress/CharacterString
1
9442
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
9443
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
1
9444
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
1
9445
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
1
9446
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
1
9447
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
9448
* print organisationpath
0
06:40:15.214 [print] Rijkswaterstaat
9449
* print operateson
0
06:40:15.214 [print] http://nationaalgeoregister.nl/geonetwork/srv/en/csw?SERVICE=csw&VERSION=2.0.2&REQUEST=GetRecordById&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full&ID=wt-f5eb-b09f-4f6d-8397-8878a1b86238#MD_DataIdentification
9450
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
9451
* eval db.writeln('"wt-f5eb-b09f-4f6d-8397-8878a1f86238","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
9452
* eval db.writeln('"wt-f5eb-b09f-4f6d-8397-8878a1f86238","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.279:18]tbjk534p-wubf-crbp-cj25-d41611f0gfim
ms: 1834
>>
Background:
9453
* url 'http://nationaalgeoregister.nl/'
1
06:39:54.462 karate.env system property was:
9454
* def mystorage = Java.type('storage.DataStorage')
1
9455
* def db = new mystorage
1
9456
* def db = db.setfeature(karate.info.featureFileName)
4
9457
* def separator = java.lang.System.getProperty("file.separator")
1
9458
* def outputpath = db.outputpath()
1
9459
* eval db.ensureDirectory(outputpath)
1
9460
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
9461
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
9462
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
9463
Given path 'geonetwork/srv/dut/inspire'
0
9464
And param service = 'CSW'
0
9465
And param version = '2.0.2'
0
9466
And param request = 'GetRecordById'
0
9467
And param id = 'tbjk534p-wubf-crbp-cj25-d41611f0gfim'
0
9468
And param elementsetname = 'full'
0
9469
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
9470
When method get
1818
9471
Then status 200
0
9472
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'tbjk534p-wubf-crbp-cj25-d41611f0gfim'
2
9473
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
9474
* def title = get response //citation/CI_Citation/title/CharacterString
1
9475
* def email = get response //electronicMailAddress/CharacterString
1
9476
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
9477
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
1
9478
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
1
9479
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
1
9480
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
1
9481
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
9482
* print organisationpath
0
06:40:15.337 [print] Rijkswaterstaat
9483
* print operateson
0
06:40:15.337 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&VERSION=2.0.2&REQUEST=GetRecordById&ID=tbjk534p-wubf-crbp-cj25-d4161160gfim&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full#MD_DataIdentification
9484
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
9485
* eval db.writeln('"tbjk534p-wubf-crbp-cj25-d41611f0gfim","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
9486
* eval db.writeln('"tbjk534p-wubf-crbp-cj25-d41611f0gfim","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.280:18]wt-83730-e750-485a-9c0c-39bf9bm72cf8
ms: 1860
>>
Background:
9487
* url 'http://nationaalgeoregister.nl/'
1
06:39:54.462 karate.env system property was:
9488
* def mystorage = Java.type('storage.DataStorage')
1
9489
* def db = new mystorage
1
9490
* def db = db.setfeature(karate.info.featureFileName)
4
9491
* def separator = java.lang.System.getProperty("file.separator")
1
9492
* def outputpath = db.outputpath()
1
9493
* eval db.ensureDirectory(outputpath)
1
9494
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
9495
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
9496
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
9497
Given path 'geonetwork/srv/dut/inspire'
0
9498
And param service = 'CSW'
0
9499
And param version = '2.0.2'
0
9500
And param request = 'GetRecordById'
0
9501
And param id = 'wt-83730-e750-485a-9c0c-39bf9bm72cf8'
0
9502
And param elementsetname = 'full'
0
9503
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
9504
When method get
1849
9505
Then status 200
0
9506
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'wt-83730-e750-485a-9c0c-39bf9bm72cf8'
1
9507
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
9508
* def title = get response //citation/CI_Citation/title/CharacterString
1
9509
* def email = get response //electronicMailAddress/CharacterString
0
9510
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
9511
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
9512
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
9513
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
9514
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
1
9515
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
9516
* print organisationpath
0
06:40:15.374 [print] Rijkswaterstaat
9517
* print operateson
0
06:40:15.374 [print] http://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=csw&VERSION=2.0.2&REQUEST=GetRecordById&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full&ID=wt-83730-e750-485a-9c0c-39bf9be72cf8#MD_DataIdentification
9518
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
9519
* eval db.writeln('"wt-83730-e750-485a-9c0c-39bf9bm72cf8","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
9520
* eval db.writeln('"wt-83730-e750-485a-9c0c-39bf9bm72cf8","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.281:18]wt-f5eb-b09f-4f6d-8397-8878a1m86238
ms: 1855
>>
Background:
9521
* url 'http://nationaalgeoregister.nl/'
1
06:39:54.462 karate.env system property was:
9522
* def mystorage = Java.type('storage.DataStorage')
1
9523
* def db = new mystorage
1
9524
* def db = db.setfeature(karate.info.featureFileName)
4
9525
* def separator = java.lang.System.getProperty("file.separator")
1
9526
* def outputpath = db.outputpath()
1
9527
* eval db.ensureDirectory(outputpath)
1
9528
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
9529
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
9530
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
9531
Given path 'geonetwork/srv/dut/inspire'
0
9532
And param service = 'CSW'
0
9533
And param version = '2.0.2'
0
9534
And param request = 'GetRecordById'
0
9535
And param id = 'wt-f5eb-b09f-4f6d-8397-8878a1m86238'
0
9536
And param elementsetname = 'full'
0
9537
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
9538
When method get
1845
9539
Then status 200
0
9540
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'wt-f5eb-b09f-4f6d-8397-8878a1m86238'
2
9541
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
9542
* def title = get response //citation/CI_Citation/title/CharacterString
0
9543
* def email = get response //electronicMailAddress/CharacterString
0
9544
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
9545
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
9546
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
9547
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
9548
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
9549
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
9550
* print organisationpath
0
06:40:15.433 [print] Rijkswaterstaat
9551
* print operateson
0
06:40:15.433 [print] http://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=csw&VERSION=2.0.2&REQUEST=GetRecordById&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full&ID=wt-f5eb-b09f-4f6d-8397-8878a1b86238#MD_DataIdentification
9552
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
9553
* eval db.writeln('"wt-f5eb-b09f-4f6d-8397-8878a1m86238","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
9554
* eval db.writeln('"wt-f5eb-b09f-4f6d-8397-8878a1m86238","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.282:18]wt-3730-e750-485a-9c0c-39bf9bm72cf9
ms: 1833
>>
Background:
9555
* url 'http://nationaalgeoregister.nl/'
1
06:39:54.462 karate.env system property was:
9556
* def mystorage = Java.type('storage.DataStorage')
1
9557
* def db = new mystorage
1
9558
* def db = db.setfeature(karate.info.featureFileName)
4
9559
* def separator = java.lang.System.getProperty("file.separator")
1
9560
* def outputpath = db.outputpath()
1
9561
* eval db.ensureDirectory(outputpath)
1
9562
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
9563
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
9564
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
9565
Given path 'geonetwork/srv/dut/inspire'
0
9566
And param service = 'CSW'
0
9567
And param version = '2.0.2'
0
9568
And param request = 'GetRecordById'
0
9569
And param id = 'wt-3730-e750-485a-9c0c-39bf9bm72cf9'
0
9570
And param elementsetname = 'full'
0
9571
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
9572
When method get
1823
9573
Then status 200
0
9574
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'wt-3730-e750-485a-9c0c-39bf9bm72cf9'
1
9575
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
9576
* def title = get response //citation/CI_Citation/title/CharacterString
0
9577
* def email = get response //electronicMailAddress/CharacterString
0
9578
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
9579
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
9580
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
9581
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
9582
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
9583
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
9584
* print organisationpath
0
06:40:15.515 [print] Rijkswaterstaat
9585
* print operateson
0
06:40:15.515 [print] http://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=csw&VERSION=2.0.2&REQUEST=GetRecordById&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full&ID=wt-3730-e750-485a-9c0c-39bf9be72cf9#MD_DataIdentification
9586
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
9587
* eval db.writeln('"wt-3730-e750-485a-9c0c-39bf9bm72cf9","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
9588
* eval db.writeln('"wt-3730-e750-485a-9c0c-39bf9bm72cf9","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.283:18]wt-f297898-2640-44c2-bbe9-c0480dt83794
ms: 2015
>>
Background:
9589
* url 'http://nationaalgeoregister.nl/'
1
06:39:54.462 karate.env system property was:
9590
* def mystorage = Java.type('storage.DataStorage')
1
9591
* def db = new mystorage
1
9592
* def db = db.setfeature(karate.info.featureFileName)
4
9593
* def separator = java.lang.System.getProperty("file.separator")
1
9594
* def outputpath = db.outputpath()
1
9595
* eval db.ensureDirectory(outputpath)
1
9596
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
9597
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
9598
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
9599
Given path 'geonetwork/srv/dut/inspire'
0
9600
And param service = 'CSW'
0
9601
And param version = '2.0.2'
0
9602
And param request = 'GetRecordById'
0
9603
And param id = 'wt-f297898-2640-44c2-bbe9-c0480dt83794'
0
9604
And param elementsetname = 'full'
0
9605
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
9606
When method get
1917
9607
Then status 200
0
9608
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'wt-f297898-2640-44c2-bbe9-c0480dt83794'
1
9609
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
9610
* def title = get response //citation/CI_Citation/title/CharacterString
0
9611
* def email = get response //electronicMailAddress/CharacterString
82
9612
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
9613
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
9614
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
9615
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
9616
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
5
9617
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
9618
* print organisationpath
0
06:40:15.723 [print] Rijkswaterstaat
9619
* print operateson
0
06:40:15.723 [print] http://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=csw&VERSION=2.0.2&REQUEST=GetRecordById&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full&ID=eu-f297898-2640-44c2-bbe9-c0480da83794#MD_DataIdentification
9620
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
9621
* eval db.writeln('"wt-f297898-2640-44c2-bbe9-c0480dt83794","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
9622
* eval db.writeln('"wt-f297898-2640-44c2-bbe9-c0480dt83794","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
3
Scenario Outline: [1.284:18]wt-f297898-2640-44c2-bbe9-c0480df83794
ms: 1959
>>
Background:
9623
* url 'http://nationaalgeoregister.nl/'
1
06:39:54.462 karate.env system property was:
9624
* def mystorage = Java.type('storage.DataStorage')
1
9625
* def db = new mystorage
1
9626
* def db = db.setfeature(karate.info.featureFileName)
4
9627
* def separator = java.lang.System.getProperty("file.separator")
1
9628
* def outputpath = db.outputpath()
1
9629
* eval db.ensureDirectory(outputpath)
1
9630
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
9631
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
9632
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
9633
Given path 'geonetwork/srv/dut/inspire'
0
9634
And param service = 'CSW'
0
9635
And param version = '2.0.2'
0
9636
And param request = 'GetRecordById'
0
9637
And param id = 'wt-f297898-2640-44c2-bbe9-c0480df83794'
0
9638
And param elementsetname = 'full'
0
9639
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
9640
When method get
1946
9641
Then status 200
0
9642
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'wt-f297898-2640-44c2-bbe9-c0480df83794'
1
9643
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
9644
* def title = get response //citation/CI_Citation/title/CharacterString
0
9645
* def email = get response //electronicMailAddress/CharacterString
0
9646
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
3
9647
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
9648
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
9649
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
9650
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
9651
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
9652
* print organisationpath
0
06:40:15.732 [print] Rijkswaterstaat
9653
* print operateson
0
06:40:15.732 [print] http://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=csw&VERSION=2.0.2&REQUEST=GetRecordById&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full&ID=eu-f297898-2640-44c2-bbe9-c0480da83794#MD_DataIdentification
9654
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
9655
* eval db.writeln('"wt-f297898-2640-44c2-bbe9-c0480df83794","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
9656
* eval db.writeln('"wt-f297898-2640-44c2-bbe9-c0480df83794","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.285:18]wt-f297898-2640-44c2-bbe9-c0480dm83794
ms: 1910
>>
Background:
9657
* url 'http://nationaalgeoregister.nl/'
1
06:39:54.462 karate.env system property was:
9658
* def mystorage = Java.type('storage.DataStorage')
1
9659
* def db = new mystorage
1
9660
* def db = db.setfeature(karate.info.featureFileName)
4
9661
* def separator = java.lang.System.getProperty("file.separator")
1
9662
* def outputpath = db.outputpath()
1
9663
* eval db.ensureDirectory(outputpath)
1
9664
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
9665
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
9666
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
9667
Given path 'geonetwork/srv/dut/inspire'
0
9668
And param service = 'CSW'
0
9669
And param version = '2.0.2'
0
9670
And param request = 'GetRecordById'
0
9671
And param id = 'wt-f297898-2640-44c2-bbe9-c0480dm83794'
1
9672
And param elementsetname = 'full'
0
9673
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
9674
When method get
1901
9675
Then status 200
0
9676
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'wt-f297898-2640-44c2-bbe9-c0480dm83794'
1
9677
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
9678
* def title = get response //citation/CI_Citation/title/CharacterString
0
9679
* def email = get response //electronicMailAddress/CharacterString
0
9680
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
9681
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
9682
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
9683
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
9684
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
9685
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
9686
* print organisationpath
0
06:40:15.747 [print] Rijkswaterstaat
9687
* print operateson
0
06:40:15.747 [print] http://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=csw&VERSION=2.0.2&REQUEST=GetRecordById&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full&ID=eu-f297898-2640-44c2-bbe9-c0480da83794#MD_DataIdentification
9688
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
9689
* eval db.writeln('"wt-f297898-2640-44c2-bbe9-c0480dm83794","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
9690
* eval db.writeln('"wt-f297898-2640-44c2-bbe9-c0480dm83794","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.286:18]tbjk534p-wubf-crbp-cj25-d41611m0gfim
ms: 1808
>>
Background:
9691
* url 'http://nationaalgeoregister.nl/'
1
06:39:54.462 karate.env system property was:
9692
* def mystorage = Java.type('storage.DataStorage')
1
9693
* def db = new mystorage
1
9694
* def db = db.setfeature(karate.info.featureFileName)
4
9695
* def separator = java.lang.System.getProperty("file.separator")
1
9696
* def outputpath = db.outputpath()
1
9697
* eval db.ensureDirectory(outputpath)
1
9698
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
9699
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
9700
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
9701
Given path 'geonetwork/srv/dut/inspire'
1
9702
And param service = 'CSW'
0
9703
And param version = '2.0.2'
0
9704
And param request = 'GetRecordById'
0
9705
And param id = 'tbjk534p-wubf-crbp-cj25-d41611m0gfim'
1
9706
And param elementsetname = 'full'
0
9707
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
9708
When method get
1785
9709
Then status 200
0
9710
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'tbjk534p-wubf-crbp-cj25-d41611m0gfim'
2
9711
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
9712
* def title = get response //citation/CI_Citation/title/CharacterString
2
9713
* def email = get response //electronicMailAddress/CharacterString
1
9714
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
9715
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
1
9716
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
1
9717
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
1
9718
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
7
9719
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
9720
* print organisationpath
0
06:40:15.733 [print] Rijkswaterstaat
9721
* print operateson
0
06:40:15.733 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&VERSION=2.0.2&REQUEST=GetRecordById&ID=tbjk534p-wubf-crbp-cj25-d4161160gfim&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full#MD_DataIdentification
9722
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
9723
* eval db.writeln('"tbjk534p-wubf-crbp-cj25-d41611m0gfim","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
9724
* eval db.writeln('"tbjk534p-wubf-crbp-cj25-d41611m0gfim","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
3
Scenario Outline: [1.287:18]tn-2c7040b-c448-451b-bf15-f2416emaadd1
ms: 1777
>>
Background:
9725
* url 'http://nationaalgeoregister.nl/'
1
06:39:54.462 karate.env system property was:
9726
* def mystorage = Java.type('storage.DataStorage')
1
9727
* def db = new mystorage
1
9728
* def db = db.setfeature(karate.info.featureFileName)
4
9729
* def separator = java.lang.System.getProperty("file.separator")
1
9730
* def outputpath = db.outputpath()
1
9731
* eval db.ensureDirectory(outputpath)
1
9732
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
9733
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
9734
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
9735
Given path 'geonetwork/srv/dut/inspire'
0
9736
And param service = 'CSW'
0
9737
And param version = '2.0.2'
0
9738
And param request = 'GetRecordById'
0
9739
And param id = 'tn-2c7040b-c448-451b-bf15-f2416emaadd1'
0
9740
And param elementsetname = 'full'
0
9741
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
9742
When method get
1766
9743
Then status 200
0
9744
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'tn-2c7040b-c448-451b-bf15-f2416emaadd1'
1
9745
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
9746
* def title = get response //citation/CI_Citation/title/CharacterString
1
9747
* def email = get response //electronicMailAddress/CharacterString
1
9748
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
9749
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
9750
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
9751
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
9752
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
9753
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
9754
* print organisationpath
0
06:40:15.772 [print] Rijkswaterstaat
9755
* print operateson
0
06:40:15.772 [print] http://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=csw&VERSION=2.0.2&REQUEST=GetRecordById&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full&ID=eu-2c7040b-c448-451b-bf15-f2416ecaadd1#MD_DataIdentification
9756
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
9757
* eval db.writeln('"tn-2c7040b-c448-451b-bf15-f2416emaadd1","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
9758
* eval db.writeln('"tn-2c7040b-c448-451b-bf15-f2416emaadd1","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.288:18]tn-2c7040b-c448-451b-bf15-f2416efaadd1
ms: 1829
>>
Background:
9759
* url 'http://nationaalgeoregister.nl/'
1
06:39:54.462 karate.env system property was:
9760
* def mystorage = Java.type('storage.DataStorage')
1
9761
* def db = new mystorage
1
9762
* def db = db.setfeature(karate.info.featureFileName)
4
9763
* def separator = java.lang.System.getProperty("file.separator")
1
9764
* def outputpath = db.outputpath()
1
9765
* eval db.ensureDirectory(outputpath)
1
9766
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
9767
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
9768
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
9769
Given path 'geonetwork/srv/dut/inspire'
0
9770
And param service = 'CSW'
0
9771
And param version = '2.0.2'
0
9772
And param request = 'GetRecordById'
0
9773
And param id = 'tn-2c7040b-c448-451b-bf15-f2416efaadd1'
0
9774
And param elementsetname = 'full'
0
9775
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
9776
When method get
1812
9777
Then status 200
0
9778
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'tn-2c7040b-c448-451b-bf15-f2416efaadd1'
2
9779
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
9780
* def title = get response //citation/CI_Citation/title/CharacterString
1
9781
* def email = get response //electronicMailAddress/CharacterString
1
9782
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
9783
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
1
9784
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
1
9785
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
1
9786
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
1
9787
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
9788
* print organisationpath
0
06:40:15.859 [print] Rijkswaterstaat
9789
* print operateson
0
06:40:15.859 [print] http://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=csw&VERSION=2.0.2&REQUEST=GetRecordById&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full&ID=eu-2c7040b-c448-451b-bf15-f2416ecaadd1#MD_DataIdentification
9790
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
9791
* eval db.writeln('"tn-2c7040b-c448-451b-bf15-f2416efaadd1","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
9792
* eval db.writeln('"tn-2c7040b-c448-451b-bf15-f2416efaadd1","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.289:18]tn-2c7040b-c448-451b-bf15-f2416etaadd1
ms: 1750
>>
Background:
9793
* url 'http://nationaalgeoregister.nl/'
1
06:39:54.462 karate.env system property was:
9794
* def mystorage = Java.type('storage.DataStorage')
1
9795
* def db = new mystorage
1
9796
* def db = db.setfeature(karate.info.featureFileName)
4
9797
* def separator = java.lang.System.getProperty("file.separator")
1
9798
* def outputpath = db.outputpath()
1
9799
* eval db.ensureDirectory(outputpath)
1
9800
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
9801
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
9802
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
9803
Given path 'geonetwork/srv/dut/inspire'
0
9804
And param service = 'CSW'
0
9805
And param version = '2.0.2'
0
9806
And param request = 'GetRecordById'
0
9807
And param id = 'tn-2c7040b-c448-451b-bf15-f2416etaadd1'
0
9808
And param elementsetname = 'full'
0
9809
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
9810
When method get
1734
9811
Then status 200
0
9812
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'tn-2c7040b-c448-451b-bf15-f2416etaadd1'
1
9813
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
9814
* def title = get response //citation/CI_Citation/title/CharacterString
0
9815
* def email = get response //electronicMailAddress/CharacterString
0
9816
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
9817
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
9818
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
9819
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
9820
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
9821
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
9822
* print organisationpath
0
06:40:15.990 [print] Rijkswaterstaat
9823
* print operateson
0
06:40:15.990 [print] http://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=csw&VERSION=2.0.2&REQUEST=GetRecordById&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full&ID=eu-2c7040b-c448-451b-bf15-f2416ecaadd1#MD_DataIdentification
9824
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
9825
* eval db.writeln('"tn-2c7040b-c448-451b-bf15-f2416etaadd1","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
9826
* eval db.writeln('"tn-2c7040b-c448-451b-bf15-f2416etaadd1","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
8
Scenario Outline: [1.290:18]cf69ec50-9849-4afd-853c-ee5621fd336d
ms: 1580
>>
Background:
9827
* url 'http://nationaalgeoregister.nl/'
1
06:39:54.462 karate.env system property was:
9828
* def mystorage = Java.type('storage.DataStorage')
1
9829
* def db = new mystorage
1
9830
* def db = db.setfeature(karate.info.featureFileName)
4
9831
* def separator = java.lang.System.getProperty("file.separator")
1
9832
* def outputpath = db.outputpath()
1
9833
* eval db.ensureDirectory(outputpath)
1
9834
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
9835
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
9836
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
9837
Given path 'geonetwork/srv/dut/inspire'
1
9838
And param service = 'CSW'
0
9839
And param version = '2.0.2'
0
9840
And param request = 'GetRecordById'
0
9841
And param id = 'cf69ec50-9849-4afd-853c-ee5621fd336d'
1
9842
And param elementsetname = 'full'
0
9843
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
9844
When method get
1567
9845
Then status 200
0
9846
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'cf69ec50-9849-4afd-853c-ee5621fd336d'
1
9847
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
9848
* def title = get response //citation/CI_Citation/title/CharacterString
0
9849
* def email = get response //electronicMailAddress/CharacterString
0
9850
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
9851
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
9852
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
1
9853
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
9854
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
9855
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
9856
* print organisationpath
0
06:40:15.906 [print] Rijkswaterstaat
9857
* print operateson
0
06:40:15.906 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&VERSION=2.0.2&REQUEST=GetRecordById&ID=cf69ec50-9849-4afd-853c-ee56211d336d&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full#MD_DataIdentification
9858
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
9859
* eval db.writeln('"cf69ec50-9849-4afd-853c-ee5621fd336d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
9860
* eval db.writeln('"cf69ec50-9849-4afd-853c-ee5621fd336d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
5
Scenario Outline: [1.291:18]68ebd5c9-0ea1-4f22-9907-ec4c06mcd3e2
ms: 1599
>>
Background:
9861
* url 'http://nationaalgeoregister.nl/'
1
06:39:54.462 karate.env system property was:
9862
* def mystorage = Java.type('storage.DataStorage')
1
9863
* def db = new mystorage
1
9864
* def db = db.setfeature(karate.info.featureFileName)
4
9865
* def separator = java.lang.System.getProperty("file.separator")
1
9866
* def outputpath = db.outputpath()
1
9867
* eval db.ensureDirectory(outputpath)
1
9868
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
9869
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
9870
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
9871
Given path 'geonetwork/srv/dut/inspire'
1
9872
And param service = 'CSW'
0
9873
And param version = '2.0.2'
0
9874
And param request = 'GetRecordById'
0
9875
And param id = '68ebd5c9-0ea1-4f22-9907-ec4c06mcd3e2'
0
9876
And param elementsetname = 'full'
0
9877
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
9878
When method get
1571
9879
Then status 200
0
9880
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '68ebd5c9-0ea1-4f22-9907-ec4c06mcd3e2'
3
9881
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
9882
* def title = get response //citation/CI_Citation/title/CharacterString
1
9883
* def email = get response //electronicMailAddress/CharacterString
1
9884
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
9885
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
9886
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
8
9887
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
5
9888
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
9889
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
9890
* print organisationpath
0
06:40:16.002 [print] Rijkswaterstaat
9891
* print operateson
0
06:40:16.002 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&VERSION=2.0.2&REQUEST=GetRecordById&ID=68ebd5c9-0ea1-4f22-9907-ec4c063cd3e2&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full#MD_DataIdentification
9892
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
9893
* eval db.writeln('"68ebd5c9-0ea1-4f22-9907-ec4c06mcd3e2","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
9894
* eval db.writeln('"68ebd5c9-0ea1-4f22-9907-ec4c06mcd3e2","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
4
Scenario Outline: [1.292:18]68ebd5c9-0ea1-4f22-9907-ec4c06fcd3e2
ms: 1636
>>
Background:
9895
* url 'http://nationaalgeoregister.nl/'
1
06:39:54.462 karate.env system property was:
9896
* def mystorage = Java.type('storage.DataStorage')
1
9897
* def db = new mystorage
1
9898
* def db = db.setfeature(karate.info.featureFileName)
4
9899
* def separator = java.lang.System.getProperty("file.separator")
1
9900
* def outputpath = db.outputpath()
1
9901
* eval db.ensureDirectory(outputpath)
1
9902
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
9903
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
9904
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
9905
Given path 'geonetwork/srv/dut/inspire'
1
9906
And param service = 'CSW'
0
9907
And param version = '2.0.2'
0
9908
And param request = 'GetRecordById'
0
9909
And param id = '68ebd5c9-0ea1-4f22-9907-ec4c06fcd3e2'
1
9910
And param elementsetname = 'full'
0
9911
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
9912
When method get
1625
9913
Then status 200
0
9914
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '68ebd5c9-0ea1-4f22-9907-ec4c06fcd3e2'
2
9915
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
9916
* def title = get response //citation/CI_Citation/title/CharacterString
1
9917
* def email = get response //electronicMailAddress/CharacterString
0
9918
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
9919
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
9920
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
9921
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
9922
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
9923
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
9924
* print organisationpath
0
06:40:16.129 [print] Rijkswaterstaat
9925
* print operateson
0
06:40:16.129 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&VERSION=2.0.2&REQUEST=GetRecordById&ID=68ebd5c9-0ea1-4f22-9907-ec4c063cd3e2&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full#MD_DataIdentification
9926
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
9927
* eval db.writeln('"68ebd5c9-0ea1-4f22-9907-ec4c06fcd3e2","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
9928
* eval db.writeln('"68ebd5c9-0ea1-4f22-9907-ec4c06fcd3e2","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.293:18]b023459a-9f0e-4d53-8059-a794119abbed
ms: 1573
>>
Background:
9929
* url 'http://nationaalgeoregister.nl/'
1
06:39:54.462 karate.env system property was:
9930
* def mystorage = Java.type('storage.DataStorage')
1
9931
* def db = new mystorage
1
9932
* def db = db.setfeature(karate.info.featureFileName)
4
9933
* def separator = java.lang.System.getProperty("file.separator")
1
9934
* def outputpath = db.outputpath()
1
9935
* eval db.ensureDirectory(outputpath)
1
9936
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
9937
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
9938
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
9939
Given path 'geonetwork/srv/dut/inspire'
1
9940
And param service = 'CSW'
0
9941
And param version = '2.0.2'
0
9942
And param request = 'GetRecordById'
0
9943
And param id = 'b023459a-9f0e-4d53-8059-a794119abbed'
1
9944
And param elementsetname = 'full'
0
9945
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
9946
When method get
1559
9947
Then status 200
0
9948
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'b023459a-9f0e-4d53-8059-a794119abbed'
2
9949
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
9950
* def title = get response //citation/CI_Citation/title/CharacterString
1
9951
* def email = get response //electronicMailAddress/CharacterString
1
9952
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
9953
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
1
9954
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
9955
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
9956
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
9957
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
9958
* print organisationpath
0
06:40:16.119 [print] Beheer PDOK
9959
* print operateson
0
06:40:16.119 [print] https://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=3387ef8a-9237-453a-aa4e-585d1e193550#MD_DataIdentification
9960
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
9961
* eval db.writeln('"b023459a-9f0e-4d53-8059-a794119abbed","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
3
9962
* eval db.writeln('"b023459a-9f0e-4d53-8059-a794119abbed","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.294:18]cf69ec50-9849-4afd-853c-ee5621md336d
ms: 1502
>>
Background:
9963
* url 'http://nationaalgeoregister.nl/'
1
06:39:54.462 karate.env system property was:
9964
* def mystorage = Java.type('storage.DataStorage')
1
9965
* def db = new mystorage
1
9966
* def db = db.setfeature(karate.info.featureFileName)
4
9967
* def separator = java.lang.System.getProperty("file.separator")
1
9968
* def outputpath = db.outputpath()
1
9969
* eval db.ensureDirectory(outputpath)
1
9970
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
9971
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
9972
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
9973
Given path 'geonetwork/srv/dut/inspire'
0
9974
And param service = 'CSW'
0
9975
And param version = '2.0.2'
0
9976
And param request = 'GetRecordById'
0
9977
And param id = 'cf69ec50-9849-4afd-853c-ee5621md336d'
0
9978
And param elementsetname = 'full'
0
9979
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
9980
When method get
1493
9981
Then status 200
0
9982
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'cf69ec50-9849-4afd-853c-ee5621md336d'
1
9983
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
9984
* def title = get response //citation/CI_Citation/title/CharacterString
0
9985
* def email = get response //electronicMailAddress/CharacterString
0
9986
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
9987
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
9988
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
9989
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
9990
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
9991
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
9992
* print organisationpath
0
06:40:16.160 [print] Rijkswaterstaat
9993
* print operateson
0
06:40:16.160 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&VERSION=2.0.2&REQUEST=GetRecordById&ID=cf69ec50-9849-4afd-853c-ee56211d336d&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full#MD_DataIdentification
9994
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
9995
* eval db.writeln('"cf69ec50-9849-4afd-853c-ee5621md336d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
9996
* eval db.writeln('"cf69ec50-9849-4afd-853c-ee5621md336d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.295:18]5bb85b77-fffd-449b-bd61-f076fe07cc4b
ms: 1611
>>
Background:
9997
* url 'http://nationaalgeoregister.nl/'
1
06:39:54.462 karate.env system property was:
9998
* def mystorage = Java.type('storage.DataStorage')
1
9999
* def db = new mystorage
1
10000
* def db = db.setfeature(karate.info.featureFileName)
4
10001
* def separator = java.lang.System.getProperty("file.separator")
1
10002
* def outputpath = db.outputpath()
1
10003
* eval db.ensureDirectory(outputpath)
1
10004
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
10005
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
10006
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
10007
Given path 'geonetwork/srv/dut/inspire'
0
10008
And param service = 'CSW'
0
10009
And param version = '2.0.2'
0
10010
And param request = 'GetRecordById'
0
10011
And param id = '5bb85b77-fffd-449b-bd61-f076fe07cc4b'
0
10012
And param elementsetname = 'full'
0
10013
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
10014
When method get
1601
10015
Then status 200
0
10016
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '5bb85b77-fffd-449b-bd61-f076fe07cc4b'
2
10017
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
10018
* def title = get response //citation/CI_Citation/title/CharacterString
0
10019
* def email = get response //electronicMailAddress/CharacterString
0
10020
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
10021
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
10022
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
10023
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
1
10024
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
10025
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
10026
* print organisationpath
0
06:40:16.314 [print] Beheer PDOK
10027
* print operateson
0
06:40:16.314 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=6c06740d-058f-4a12-bb3f-bf68efd03d09#MD_DataIdentification
10028
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
10029
* eval db.writeln('"5bb85b77-fffd-449b-bd61-f076fe07cc4b","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
10030
* eval db.writeln('"5bb85b77-fffd-449b-bd61-f076fe07cc4b","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.296:18]23aa5150-fcc7-46ea-ae63-a7f198d8bc18
ms: 1812
>>
Background:
10031
* url 'http://nationaalgeoregister.nl/'
1
06:39:54.462 karate.env system property was:
10032
* def mystorage = Java.type('storage.DataStorage')
1
10033
* def db = new mystorage
1
10034
* def db = db.setfeature(karate.info.featureFileName)
4
10035
* def separator = java.lang.System.getProperty("file.separator")
1
10036
* def outputpath = db.outputpath()
1
10037
* eval db.ensureDirectory(outputpath)
1
10038
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
10039
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
10040
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
10041
Given path 'geonetwork/srv/dut/inspire'
0
10042
And param service = 'CSW'
0
10043
And param version = '2.0.2'
0
10044
And param request = 'GetRecordById'
0
10045
And param id = '23aa5150-fcc7-46ea-ae63-a7f198d8bc18'
0
10046
And param elementsetname = 'full'
0
10047
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
10048
When method get
1795
10049
Then status 200
0
10050
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '23aa5150-fcc7-46ea-ae63-a7f198d8bc18'
2
10051
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
10052
* def title = get response //citation/CI_Citation/title/CharacterString
0
10053
* def email = get response //electronicMailAddress/CharacterString
0
10054
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
10055
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
10056
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
10057
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
10058
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
10059
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
10060
* print organisationpath
0
06:40:16.688 [print]
10061
* print operateson
0
06:40:16.688 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=2cc2c30c-91b8-412a-a060-e84d25272581#MD_DataIdentification
10062
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
10063
* eval db.writeln('"23aa5150-fcc7-46ea-ae63-a7f198d8bc18","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
10064
* eval db.writeln('"23aa5150-fcc7-46ea-ae63-a7f198d8bc18","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
8
Scenario Outline: [1.297:18]1d568785-efdd-429d-b491-56f785c3656a
ms: 1570
>>
Background:
10065
* url 'http://nationaalgeoregister.nl/'
1
06:39:54.462 karate.env system property was:
10066
* def mystorage = Java.type('storage.DataStorage')
1
10067
* def db = new mystorage
1
10068
* def db = db.setfeature(karate.info.featureFileName)
4
10069
* def separator = java.lang.System.getProperty("file.separator")
1
10070
* def outputpath = db.outputpath()
1
10071
* eval db.ensureDirectory(outputpath)
1
10072
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
10073
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
10074
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
10075
Given path 'geonetwork/srv/dut/inspire'
0
10076
And param service = 'CSW'
0
10077
And param version = '2.0.2'
0
10078
And param request = 'GetRecordById'
0
10079
And param id = '1d568785-efdd-429d-b491-56f785c3656a'
0
10080
And param elementsetname = 'full'
0
10081
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
10082
When method get
1555
10083
Then status 200
0
10084
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '1d568785-efdd-429d-b491-56f785c3656a'
2
10085
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
10086
* def title = get response //citation/CI_Citation/title/CharacterString
1
10087
* def email = get response //electronicMailAddress/CharacterString
1
10088
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
10089
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
1
10090
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
1
10091
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
1
10092
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
10093
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
10094
* print organisationpath
0
06:40:16.452 [print] Beheer PDOK
10095
* print operateson
1
06:40:16.454 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=7dd1fd45-ace5-41e0-93a6-64e3be231717#MD_DataIdentification
10096
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
10097
* eval db.writeln('"1d568785-efdd-429d-b491-56f785c3656a","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
10098
* eval db.writeln('"1d568785-efdd-429d-b491-56f785c3656a","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
3
Scenario Outline: [1.298:18]f59357eb-185f-42a5-b465-90bfa6e3e416
ms: 1606
>>
Background:
10099
* url 'http://nationaalgeoregister.nl/'
1
06:39:54.462 karate.env system property was:
10100
* def mystorage = Java.type('storage.DataStorage')
1
10101
* def db = new mystorage
1
10102
* def db = db.setfeature(karate.info.featureFileName)
4
10103
* def separator = java.lang.System.getProperty("file.separator")
1
10104
* def outputpath = db.outputpath()
1
10105
* eval db.ensureDirectory(outputpath)
1
10106
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
10107
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
10108
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
10109
Given path 'geonetwork/srv/dut/inspire'
0
10110
And param service = 'CSW'
0
10111
And param version = '2.0.2'
0
10112
And param request = 'GetRecordById'
0
10113
And param id = 'f59357eb-185f-42a5-b465-90bfa6e3e416'
0
10114
And param elementsetname = 'full'
0
10115
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
10116
When method get
1588
10117
Then status 200
0
10118
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'f59357eb-185f-42a5-b465-90bfa6e3e416'
1
10119
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
10120
* def title = get response //citation/CI_Citation/title/CharacterString
0
10121
* def email = get response //electronicMailAddress/CharacterString
0
10122
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
10123
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
10124
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
10125
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
10126
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
10127
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
10128
* print organisationpath
0
06:40:16.578 [print]
10129
* print operateson
0
06:40:16.578 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=32a21114-8694-40ce-ab76-9dcd885c7861#MD_DataIdentification
10130
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
10131
* eval db.writeln('"f59357eb-185f-42a5-b465-90bfa6e3e416","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
11
10132
* eval db.writeln('"f59357eb-185f-42a5-b465-90bfa6e3e416","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.299:18]d981070b-888c-42d5-85ff-1e383f3d7fce
ms: 1454
>>
Background:
10133
* url 'http://nationaalgeoregister.nl/'
1
06:39:54.462 karate.env system property was:
10134
* def mystorage = Java.type('storage.DataStorage')
1
10135
* def db = new mystorage
1
10136
* def db = db.setfeature(karate.info.featureFileName)
4
10137
* def separator = java.lang.System.getProperty("file.separator")
1
10138
* def outputpath = db.outputpath()
1
10139
* eval db.ensureDirectory(outputpath)
1
10140
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
10141
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
10142
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
10143
Given path 'geonetwork/srv/dut/inspire'
0
10144
And param service = 'CSW'
0
10145
And param version = '2.0.2'
0
10146
And param request = 'GetRecordById'
0
10147
And param id = 'd981070b-888c-42d5-85ff-1e383f3d7fce'
0
10148
And param elementsetname = 'full'
0
10149
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
10150
When method get
1445
10151
Then status 200
0
10152
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'd981070b-888c-42d5-85ff-1e383f3d7fce'
1
10153
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
10154
* def title = get response //citation/CI_Citation/title/CharacterString
0
10155
* def email = get response //electronicMailAddress/CharacterString
0
10156
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
10157
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
10158
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
10159
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
10160
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
10161
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
10162
* print organisationpath
0
06:40:16.497 [print] Beheer PDOK
10163
* print operateson
0
06:40:16.497 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=d845cef6-0e23-4212-a951-b69763e39ef0#MD_DataIdentification
10164
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
10165
* eval db.writeln('"d981070b-888c-42d5-85ff-1e383f3d7fce","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
10166
* eval db.writeln('"d981070b-888c-42d5-85ff-1e383f3d7fce","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.300:18]b4ae5b2c-f557-4a30-bbf2-c2681a544f32
ms: 1627
>>
Background:
10167
* url 'http://nationaalgeoregister.nl/'
1
06:39:54.462 karate.env system property was:
10168
* def mystorage = Java.type('storage.DataStorage')
1
10169
* def db = new mystorage
1
10170
* def db = db.setfeature(karate.info.featureFileName)
4
10171
* def separator = java.lang.System.getProperty("file.separator")
1
10172
* def outputpath = db.outputpath()
1
10173
* eval db.ensureDirectory(outputpath)
1
10174
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
10175
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
10176
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
10177
Given path 'geonetwork/srv/dut/inspire'
0
10178
And param service = 'CSW'
0
10179
And param version = '2.0.2'
0
10180
And param request = 'GetRecordById'
0
10181
And param id = 'b4ae5b2c-f557-4a30-bbf2-c2681a544f32'
1
10182
And param elementsetname = 'full'
0
10183
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
10184
When method get
1617
10185
Then status 200
0
10186
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'b4ae5b2c-f557-4a30-bbf2-c2681a544f32'
1
10187
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
10188
* def title = get response //citation/CI_Citation/title/CharacterString
0
10189
* def email = get response //electronicMailAddress/CharacterString
0
10190
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
10191
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
10192
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
10193
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
10194
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
10195
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
10196
* print organisationpath
0
06:40:16.698 [print] Beheer PDOK
10197
* print operateson
0
06:40:16.698 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=831f7bd7-c2ae-4336-bd2f-47ab20d7cdb7#MD_DataIdentification
10198
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
10199
* eval db.writeln('"b4ae5b2c-f557-4a30-bbf2-c2681a544f32","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
10200
* eval db.writeln('"b4ae5b2c-f557-4a30-bbf2-c2681a544f32","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.301:18]9c4862c3-0bab-49c3-bc2f-ac5486826766
ms: 1869
>>
Background:
10201
* url 'http://nationaalgeoregister.nl/'
1
06:39:54.462 karate.env system property was:
10202
* def mystorage = Java.type('storage.DataStorage')
1
10203
* def db = new mystorage
1
10204
* def db = db.setfeature(karate.info.featureFileName)
4
10205
* def separator = java.lang.System.getProperty("file.separator")
1
10206
* def outputpath = db.outputpath()
1
10207
* eval db.ensureDirectory(outputpath)
1
10208
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
10209
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
10210
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
10211
Given path 'geonetwork/srv/dut/inspire'
0
10212
And param service = 'CSW'
0
10213
And param version = '2.0.2'
0
10214
And param request = 'GetRecordById'
0
10215
And param id = '9c4862c3-0bab-49c3-bc2f-ac5486826766'
0
10216
And param elementsetname = 'full'
0
10217
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
10218
When method get
1835
10219
Then status 200
0
10220
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '9c4862c3-0bab-49c3-bc2f-ac5486826766'
3
10221
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
3
10222
* def title = get response //citation/CI_Citation/title/CharacterString
3
10223
* def email = get response //electronicMailAddress/CharacterString
3
10224
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
3
10225
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
2
10226
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
2
10227
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
2
10228
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
2
10229
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
3
10230
* print organisationpath
0
06:40:17.024 [print] Beheer PDOK
10231
* print operateson
0
06:40:17.024 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=28c4780a-1a44-4376-b283-14a50a481729#MD_DataIdentification
10232
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
3
10233
* eval db.writeln('"9c4862c3-0bab-49c3-bc2f-ac5486826766","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
10234
* eval db.writeln('"9c4862c3-0bab-49c3-bc2f-ac5486826766","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.302:18]e27e61d8-25b1-45ee-a2df-071312ba8a69
ms: 1726
>>
Background:
10235
* url 'http://nationaalgeoregister.nl/'
1
06:39:54.462 karate.env system property was:
10236
* def mystorage = Java.type('storage.DataStorage')
1
10237
* def db = new mystorage
1
10238
* def db = db.setfeature(karate.info.featureFileName)
4
10239
* def separator = java.lang.System.getProperty("file.separator")
1
10240
* def outputpath = db.outputpath()
1
10241
* eval db.ensureDirectory(outputpath)
1
10242
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
10243
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
10244
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
10245
Given path 'geonetwork/srv/dut/inspire'
0
10246
And param service = 'CSW'
0
10247
And param version = '2.0.2'
0
10248
And param request = 'GetRecordById'
0
10249
And param id = 'e27e61d8-25b1-45ee-a2df-071312ba8a69'
1
10250
And param elementsetname = 'full'
0
10251
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
10252
When method get
1712
10253
Then status 200
0
10254
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'e27e61d8-25b1-45ee-a2df-071312ba8a69'
2
10255
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
10256
* def title = get response //citation/CI_Citation/title/CharacterString
1
10257
* def email = get response //electronicMailAddress/CharacterString
1
10258
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
10259
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
1
10260
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
10261
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
10262
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
10263
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
10264
* print organisationpath
0
06:40:16.939 [print] Beheer PDOK
10265
* print operateson
0
06:40:16.939 [print] [
"https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=622a632a-c57b-44a2-83a4-e51223d5f15g#MD_DataIdentification",
"https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=2e31680f-68b5-4ff3-94a4-9c24109ffd5e#MD_DataIdentification",
"https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=krw-f7bb2351-9788-42ea-a58b-a5ee1842304e#MD_DataIdentification",
"https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=krw-782cab20-8328-45f1-a9b2-c27d07c14066#MD_DataIdentification"
]
10266
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
10267
* eval db.writeln('"e27e61d8-25b1-45ee-a2df-071312ba8a69","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
3
10268
* eval db.writeln('"e27e61d8-25b1-45ee-a2df-071312ba8a69","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
3
Scenario Outline: [1.303:18]e69bb2e9-eff4-4fb3-86a6-057cf628e761
ms: 1937
>>
Background:
10269
* url 'http://nationaalgeoregister.nl/'
1
06:39:54.462 karate.env system property was:
10270
* def mystorage = Java.type('storage.DataStorage')
1
10271
* def db = new mystorage
1
10272
* def db = db.setfeature(karate.info.featureFileName)
4
10273
* def separator = java.lang.System.getProperty("file.separator")
1
10274
* def outputpath = db.outputpath()
1
10275
* eval db.ensureDirectory(outputpath)
1
10276
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
10277
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
10278
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
10279
Given path 'geonetwork/srv/dut/inspire'
1
10280
And param service = 'CSW'
0
10281
And param version = '2.0.2'
0
10282
And param request = 'GetRecordById'
0
10283
And param id = 'e69bb2e9-eff4-4fb3-86a6-057cf628e761'
1
10284
And param elementsetname = 'full'
0
10285
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
10286
When method get
1864
10287
Then status 200
0
10288
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'e69bb2e9-eff4-4fb3-86a6-057cf628e761'
16
10289
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
5
10290
* def title = get response //citation/CI_Citation/title/CharacterString
5
10291
* def email = get response //electronicMailAddress/CharacterString
5
10292
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
5
10293
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
3
10294
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
3
10295
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
3
10296
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
3
10297
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
5
10298
* print organisationpath
0
06:40:17.262 [print] Beheer PDOK
10299
* print operateson
0
06:40:17.262 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=fcefa13c-44e2-4953-b6d6-1ddceebc57fc#MD_DataIdentification
10300
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
14
10301
* eval db.writeln('"e69bb2e9-eff4-4fb3-86a6-057cf628e761","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
10302
* eval db.writeln('"e69bb2e9-eff4-4fb3-86a6-057cf628e761","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.304:18]609d0c9e-173f-4f90-b020-c91ab3a0b6ef
ms: 1844
>>
Background:
10303
* url 'http://nationaalgeoregister.nl/'
1
06:39:54.462 karate.env system property was:
10304
* def mystorage = Java.type('storage.DataStorage')
1
10305
* def db = new mystorage
1
10306
* def db = db.setfeature(karate.info.featureFileName)
4
10307
* def separator = java.lang.System.getProperty("file.separator")
1
10308
* def outputpath = db.outputpath()
1
10309
* eval db.ensureDirectory(outputpath)
1
10310
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
10311
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
10312
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
10313
Given path 'geonetwork/srv/dut/inspire'
1
10314
And param service = 'CSW'
0
10315
And param version = '2.0.2'
0
10316
And param request = 'GetRecordById'
0
10317
And param id = '609d0c9e-173f-4f90-b020-c91ab3a0b6ef'
1
10318
And param elementsetname = 'full'
0
10319
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
10320
When method get
1830
10321
Then status 200
0
10322
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '609d0c9e-173f-4f90-b020-c91ab3a0b6ef'
1
10323
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
10324
* def title = get response //citation/CI_Citation/title/CharacterString
0
10325
* def email = get response //electronicMailAddress/CharacterString
0
10326
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
10327
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
10328
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
10329
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
10330
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
10331
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
10332
* print organisationpath
0
06:40:17.215 [print] Beheer PDOK
10333
* print operateson
0
06:40:17.215 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=29c17585-e702-463f-a5dc-99d34b17d333#MD_DataIdentification
10334
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
10335
* eval db.writeln('"609d0c9e-173f-4f90-b020-c91ab3a0b6ef","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
5
10336
* eval db.writeln('"609d0c9e-173f-4f90-b020-c91ab3a0b6ef","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.305:18]dd49e02c-ea87-4ffc-89dd-f888608d95b7
ms: 1582
>>
Background:
10337
* url 'http://nationaalgeoregister.nl/'
1
06:39:54.462 karate.env system property was:
10338
* def mystorage = Java.type('storage.DataStorage')
1
10339
* def db = new mystorage
1
10340
* def db = db.setfeature(karate.info.featureFileName)
4
10341
* def separator = java.lang.System.getProperty("file.separator")
1
10342
* def outputpath = db.outputpath()
1
10343
* eval db.ensureDirectory(outputpath)
1
10344
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
10345
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
10346
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
10347
Given path 'geonetwork/srv/dut/inspire'
0
10348
And param service = 'CSW'
0
10349
And param version = '2.0.2'
0
10350
And param request = 'GetRecordById'
0
10351
And param id = 'dd49e02c-ea87-4ffc-89dd-f888608d95b7'
0
10352
And param elementsetname = 'full'
0
10353
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
10354
When method get
1570
10355
Then status 200
0
10356
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'dd49e02c-ea87-4ffc-89dd-f888608d95b7'
1
10357
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
10358
* def title = get response //citation/CI_Citation/title/CharacterString
0
10359
* def email = get response //electronicMailAddress/CharacterString
0
10360
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
10361
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
10362
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
10363
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
10364
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
3
10365
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
10366
* print organisationpath
0
06:40:17.015 [print] Beheer PDOK
10367
* print operateson
0
06:40:17.015 [print] http://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&version=2.0.2&request=GetRecordById&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=4961d305-fbb5-426a-9ba3-53e1ca5f3b18
10368
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
10369
* eval db.writeln('"dd49e02c-ea87-4ffc-89dd-f888608d95b7","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
10370
* eval db.writeln('"dd49e02c-ea87-4ffc-89dd-f888608d95b7","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.306:18]b5ee6914-04bd-4c7e-a180-242371ae40d9
ms: 1835
>>
Background:
10371
* url 'http://nationaalgeoregister.nl/'
1
06:39:54.462 karate.env system property was:
10372
* def mystorage = Java.type('storage.DataStorage')
1
10373
* def db = new mystorage
1
10374
* def db = db.setfeature(karate.info.featureFileName)
4
10375
* def separator = java.lang.System.getProperty("file.separator")
1
10376
* def outputpath = db.outputpath()
1
10377
* eval db.ensureDirectory(outputpath)
1
10378
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
10379
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
10380
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
10381
Given path 'geonetwork/srv/dut/inspire'
0
10382
And param service = 'CSW'
0
10383
And param version = '2.0.2'
0
10384
And param request = 'GetRecordById'
0
10385
And param id = 'b5ee6914-04bd-4c7e-a180-242371ae40d9'
0
10386
And param elementsetname = 'full'
0
10387
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
10388
When method get
1825
10389
Then status 200
0
10390
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'b5ee6914-04bd-4c7e-a180-242371ae40d9'
1
10391
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
10392
* def title = get response //citation/CI_Citation/title/CharacterString
0
10393
* def email = get response //electronicMailAddress/CharacterString
0
10394
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
10395
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
10396
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
10397
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
10398
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
10399
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
10400
* print organisationpath
0
06:40:17.349 [print]
10401
* print operateson
0
06:40:17.349 [print] [
"https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=50a2c5e6-c8e7-425d-854e-26f578196bc9#MD_DataIdentification",
"https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=08b27bf0-e34a-4b30-9eac-5edadfb6a288#MD_DataIdentification",
"https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=8b0b02a0-1e1b-4cda-bcfe-6fa0f738e38f#MD_DataIdentification",
"https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=f2f86edf-ac3a-48e8-9292-0544da2d7645#MD_DataIdentification",
"https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=ad6caa40-89ab-47e3-85ab-3f8e32024a71#MD_DataIdentification",
"https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=f8d840bc-18df-4449-b797-b9adcb81d3ec#MD_DataIdentification",
"https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=d3c9efd6-fca7-49d6-92bb-5f507abece90#MD_DataIdentification",
"https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=32a21114-8694-40ce-ab76-9dcd885c7861#MD_DataIdentification",
"https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=d24ccb35-e9d2-41bf-b231-43083fc0c76d#MD_DataIdentification",
"https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=36a7e8cb-8300-4602-93d2-135943365a6f#MD_DataIdentification",
"https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=b3f66964-a8c1-456f-9799-9cafca2cb7b1#MD_DataIdentification",
"https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=e1e99000-ec47-4e9f-84a5-adad24fef0dc#MD_DataIdentification",
"https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=8a4f5c3b-aced-48fd-afb5-f1f1d0ef21d6#MD_DataIdentification",
"https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=d9baa847-4652-4588-abe1-0b050f40f27f#MD_DataIdentification",
"https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=2cc2c30c-91b8-412a-a060-e84d25272581#MD_DataIdentification"
]
10402
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
10403
* eval db.writeln('"b5ee6914-04bd-4c7e-a180-242371ae40d9","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
10404
* eval db.writeln('"b5ee6914-04bd-4c7e-a180-242371ae40d9","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.307:18]2dd6c9df-bb47-40eb-af39-2d17f09b9bb9
ms: 1699
>>
Background:
10405
* url 'http://nationaalgeoregister.nl/'
1
06:39:54.462 karate.env system property was:
10406
* def mystorage = Java.type('storage.DataStorage')
1
10407
* def db = new mystorage
1
10408
* def db = db.setfeature(karate.info.featureFileName)
4
10409
* def separator = java.lang.System.getProperty("file.separator")
1
10410
* def outputpath = db.outputpath()
1
10411
* eval db.ensureDirectory(outputpath)
1
10412
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
10413
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
10414
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
10415
Given path 'geonetwork/srv/dut/inspire'
0
10416
And param service = 'CSW'
0
10417
And param version = '2.0.2'
0
10418
And param request = 'GetRecordById'
0
10419
And param id = '2dd6c9df-bb47-40eb-af39-2d17f09b9bb9'
0
10420
And param elementsetname = 'full'
0
10421
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
10422
When method get
1687
10423
Then status 200
0
10424
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '2dd6c9df-bb47-40eb-af39-2d17f09b9bb9'
2
10425
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
10426
* def title = get response //citation/CI_Citation/title/CharacterString
1
10427
* def email = get response //electronicMailAddress/CharacterString
1
10428
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
10429
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
10430
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
1
10431
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
10432
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
10433
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
10434
* print organisationpath
0
06:40:17.424 [print] TNO Geologische Dienst Nederland
10435
* print operateson
0
06:40:17.424 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&ID=80630ee7-3a15-4ea0-bdc0-a8aebfa2f204&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full#MD_DataIdentification
10436
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
10437
* eval db.writeln('"2dd6c9df-bb47-40eb-af39-2d17f09b9bb9","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
10438
* eval db.writeln('"2dd6c9df-bb47-40eb-af39-2d17f09b9bb9","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.308:18]918388cf-9d8c-4264-b108-3e375bde0d52
ms: 1805
>>
Background:
10439
* url 'http://nationaalgeoregister.nl/'
1
06:39:54.462 karate.env system property was:
10440
* def mystorage = Java.type('storage.DataStorage')
1
10441
* def db = new mystorage
1
10442
* def db = db.setfeature(karate.info.featureFileName)
4
10443
* def separator = java.lang.System.getProperty("file.separator")
1
10444
* def outputpath = db.outputpath()
1
10445
* eval db.ensureDirectory(outputpath)
1
10446
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
10447
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
10448
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
10449
Given path 'geonetwork/srv/dut/inspire'
1
10450
And param service = 'CSW'
0
10451
And param version = '2.0.2'
0
10452
And param request = 'GetRecordById'
0
10453
And param id = '918388cf-9d8c-4264-b108-3e375bde0d52'
1
10454
And param elementsetname = 'full'
0
10455
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
10456
When method get
1794
10457
Then status 200
0
10458
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '918388cf-9d8c-4264-b108-3e375bde0d52'
1
10459
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
10460
* def title = get response //citation/CI_Citation/title/CharacterString
1
10461
* def email = get response //electronicMailAddress/CharacterString
1
10462
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
10463
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
10464
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
10465
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
10466
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
10467
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
10468
* print organisationpath
0
06:40:17.538 [print] Beheer PDOK
10469
* print operateson
0
06:40:17.538 [print] [
"http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=be1b1514-8d1f-48e1-9624-fee9b784138b#MD_DataIdentification",
"http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=db60a314-5583-437d-a2ff-1e59cc57704e#MD_DataIdentification"
]
10470
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
10471
* eval db.writeln('"918388cf-9d8c-4264-b108-3e375bde0d52","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
10472
* eval db.writeln('"918388cf-9d8c-4264-b108-3e375bde0d52","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.309:18]65f9628b-0a58-4348-8fff-c2d02788acdb
ms: 1761
>>
Background:
10473
* url 'http://nationaalgeoregister.nl/'
1
06:39:54.462 karate.env system property was:
10474
* def mystorage = Java.type('storage.DataStorage')
1
10475
* def db = new mystorage
1
10476
* def db = db.setfeature(karate.info.featureFileName)
4
10477
* def separator = java.lang.System.getProperty("file.separator")
1
10478
* def outputpath = db.outputpath()
1
10479
* eval db.ensureDirectory(outputpath)
1
10480
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
10481
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
10482
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
10483
Given path 'geonetwork/srv/dut/inspire'
0
10484
And param service = 'CSW'
0
10485
And param version = '2.0.2'
0
10486
And param request = 'GetRecordById'
0
10487
And param id = '65f9628b-0a58-4348-8fff-c2d02788acdb'
1
10488
And param elementsetname = 'full'
0
10489
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
10490
When method get
1750
10491
Then status 200
0
10492
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '65f9628b-0a58-4348-8fff-c2d02788acdb'
1
10493
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
10494
* def title = get response //citation/CI_Citation/title/CharacterString
1
10495
* def email = get response //electronicMailAddress/CharacterString
1
10496
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
10497
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
1
10498
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
1
10499
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
1
10500
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
1
10501
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
10502
* print organisationpath
0
06:40:17.496 [print] Beheer PDOK
10503
* print operateson
0
06:40:17.496 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=3a7dd0a6-d130-4c4c-b0ba-24365cf036e2#MD_DataIdentification
10504
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
10505
* eval db.writeln('"65f9628b-0a58-4348-8fff-c2d02788acdb","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
10506
* eval db.writeln('"65f9628b-0a58-4348-8fff-c2d02788acdb","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.310:18]e5ef707f-6458-4567-8d2c-d24fe88ab5e9
ms: 1849
>>
Background:
10507
* url 'http://nationaalgeoregister.nl/'
1
06:39:54.462 karate.env system property was:
10508
* def mystorage = Java.type('storage.DataStorage')
1
10509
* def db = new mystorage
1
10510
* def db = db.setfeature(karate.info.featureFileName)
4
10511
* def separator = java.lang.System.getProperty("file.separator")
1
10512
* def outputpath = db.outputpath()
1
10513
* eval db.ensureDirectory(outputpath)
1
10514
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
10515
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
10516
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
10517
Given path 'geonetwork/srv/dut/inspire'
0
10518
And param service = 'CSW'
0
10519
And param version = '2.0.2'
0
10520
And param request = 'GetRecordById'
0
10521
And param id = 'e5ef707f-6458-4567-8d2c-d24fe88ab5e9'
1
10522
And param elementsetname = 'full'
0
10523
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
10524
When method get
1838
10525
Then status 200
0
10526
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'e5ef707f-6458-4567-8d2c-d24fe88ab5e9'
2
10527
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
10528
* def title = get response //citation/CI_Citation/title/CharacterString
1
10529
* def email = get response //electronicMailAddress/CharacterString
1
10530
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
10531
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
10532
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
1
10533
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
1
10534
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
10535
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
10536
* print organisationpath
0
06:40:17.597 [print] TNO Geologische Dienst Nederland
10537
* print operateson
0
06:40:17.597 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&ID=e3b0da1e-0664-4025-b3f5-a54d74a26450&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full#MD_DataIdentification
10538
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
10539
* eval db.writeln('"e5ef707f-6458-4567-8d2c-d24fe88ab5e9","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
10540
* eval db.writeln('"e5ef707f-6458-4567-8d2c-d24fe88ab5e9","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.1:59]dd49e02c-ea87-4ffc-89dd-f888608d95b7
ms: 1657
>>
Background:
10541
* url 'http://nationaalgeoregister.nl/'
1
06:40:15.790 karate.env system property was:
10542
* def mystorage = Java.type('storage.DataStorage')
1
10543
* def db = new mystorage
1
10544
* def db = db.setfeature(karate.info.featureFileName)
1
10545
* def separator = java.lang.System.getProperty("file.separator")
1
10546
* def outputpath = db.outputpath()
1
10547
* eval db.ensureDirectory(outputpath)
1
10548
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
10549
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
10550
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
10551
Given path 'geonetwork/srv/dut/inspire'
0
10552
And param service = 'CSW'
0
10553
And param version = '2.0.2'
0
10554
And param request = 'GetRecordById'
0
10555
And param id = 'dd49e02c-ea87-4ffc-89dd-f888608d95b7'
0
10556
And param elementsetname = 'full'
0
10557
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
10558
When method get
1644
10559
Then status 200
0
10560
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'dd49e02c-ea87-4ffc-89dd-f888608d95b7'
0
10561
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
10562
* def title = get response //citation/CI_Citation/title/CharacterString
0
10563
* def email = get response //electronicMailAddress/CharacterString
0
10564
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
10565
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
10566
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
10567
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
10568
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
10569
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
10570
* print organisationpath
0
06:40:17.448 [print] Beheer PDOK
10571
* print operateson
0
06:40:17.448 [print] http://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&version=2.0.2&request=GetRecordById&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=4961d305-fbb5-426a-9ba3-53e1ca5f3b18
10572
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
10573
* eval db.writeln('"dd49e02c-ea87-4ffc-89dd-f888608d95b7","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
0
10574
* eval db.writeln('"dd49e02c-ea87-4ffc-89dd-f888608d95b7","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
0